mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-04 08:29:50 -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
|
@ -691,6 +691,7 @@ DWORD WINAPI SetLGPThread(LPVOID param)
|
|||
NULL, &policy_key, &disp);
|
||||
if (r != ERROR_SUCCESS) {
|
||||
uprintf("SetLGP: Failed to open LGPO path %s - error %x\n", p->szPath, hr);
|
||||
policy_key = NULL;
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
@ -759,6 +760,7 @@ BOOL SetLGP(BOOL bRestore, BOOL* bExistingKey, const char* szPath, const char* s
|
|||
CloseHandle(thread_id);
|
||||
return FALSE;
|
||||
}
|
||||
GetExitCodeThread(thread_id, &r);
|
||||
if (!GetExitCodeThread(thread_id, &r))
|
||||
return FALSE;
|
||||
return (BOOL) r;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue