mirror of
https://github.com/ladislav-zezula/StormLib.git
synced 2026-01-27 09:41:35 +01:00
+ More paratemer checking to make nitpickers happy
This commit is contained in:
@@ -659,7 +659,9 @@ bool WINAPI SFileReadFile(HANDLE hFile, void * pvBuffer, DWORD dwToRead, LPDWORD
|
||||
DWORD dwBytesRead = 0; // Number of bytes read
|
||||
int nError = ERROR_SUCCESS;
|
||||
|
||||
// Keep compilers happy
|
||||
// Always zero the result
|
||||
if(pdwRead != NULL)
|
||||
*pdwRead = 0;
|
||||
lpOverlapped = lpOverlapped;
|
||||
|
||||
// Check valid parameters
|
||||
|
||||
Reference in New Issue
Block a user