Fix enumeration values not handled in switch warning

This commit is contained in:
Anders Jenbo
2021-07-17 16:55:37 +02:00
committed by GitHub
parent c5fb5c7dfa
commit 29bef29a2b

View File

@@ -441,10 +441,10 @@ bool WINAPI SFileGetFileInfo(
case SFileInfoCRC32:
return GetInfo(pvFileInfo, cbFileInfo, &hf->pFileEntry->dwCrc32, sizeof(DWORD), pcbLengthNeeded);
default:
// Invalid info class
return GetInfo_ReturdwErrCode(ERROR_INVALID_PARAMETER);
}
// Invalid info class
return GetInfo_ReturdwErrCode(ERROR_INVALID_PARAMETER);
}
bool WINAPI SFileFreeFileInfo(void * pvFileInfo, SFileInfoClass InfoClass)