mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-17 00:24:27 -04:00
[misc] fix coverity defects
* Also update coverity build script
This commit is contained in:
parent
cc10821361
commit
6a9a14bfb2
4 changed files with 13 additions and 7 deletions
|
@ -381,7 +381,8 @@ out:
|
|||
SendMessage(hProgressDialog, UM_PROGRESS_EXIT, (WPARAM)r, 0);
|
||||
if (fd != NULL) fclose(fd);
|
||||
if (!r) {
|
||||
_unlink(file);
|
||||
if (file != NULL)
|
||||
_unlink(file);
|
||||
if (PromptOnError) {
|
||||
PrintInfo(0, MSG_242);
|
||||
SetLastError(error_code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue