mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-20 18:05:21 -04:00
[misc] fix multiple VS Code Analysis warnings
This commit is contained in:
parent
97b4e623cd
commit
edcfd43ed5
13 changed files with 48 additions and 23 deletions
|
@ -151,6 +151,8 @@ DWORD M_NTFSSECT_API NtfsSectGetVolumeInfo(
|
|||
rc = NtfsSectGetVolumeHandle(VolumeName, VolumeInfo);
|
||||
if (rc != ERROR_SUCCESS)
|
||||
goto err_handle;
|
||||
if ((VolumeInfo->Handle == NULL) || (VolumeInfo->Handle == INVALID_HANDLE_VALUE))
|
||||
return ERROR_INVALID_HANDLE;
|
||||
}
|
||||
|
||||
rc = NtfsSectLoadXpFuncs(&xp_funcs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue