mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-24 00:06:17 +01:00
Merge pull request #228 from AJenbo/patch-1
Fix enumeration values not handled in switch warning
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user