mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-21 18:35:26 -04:00
[misc] fix multiple warnings
* Fix Visual Studio code analysis warnings * Also rename VS targets to x86_32 and x86_64
This commit is contained in:
parent
eb9e5ab899
commit
f965c5cd23
18 changed files with 158 additions and 128 deletions
|
@ -669,7 +669,8 @@ out:
|
|||
if (hImage != NULL) pfWIMCloseHandle(hImage);
|
||||
if (hWim != NULL) pfWIMCloseHandle(hWim);
|
||||
}
|
||||
pfWIMUnregisterMessageCallback(NULL, (FARPROC)WimProgressCallback);
|
||||
if (pfWIMUnregisterMessageCallback != NULL)
|
||||
pfWIMUnregisterMessageCallback(NULL, (FARPROC)WimProgressCallback);
|
||||
safe_free(wimage);
|
||||
safe_free(wdst);
|
||||
ExitThread((DWORD)r);
|
||||
|
@ -689,6 +690,7 @@ BOOL WimApplyImage(const char* image, int index, const char* dst)
|
|||
return FALSE;
|
||||
}
|
||||
WaitForSingleObject(handle, INFINITE);
|
||||
GetExitCodeThread(handle, &dw);
|
||||
if (!GetExitCodeThread(handle, &dw))
|
||||
return FALSE;
|
||||
return (BOOL)dw;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue