mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-27 13:14:26 -04:00
[misc] minor update to pollock
* Also reinstate CodeQL since github/codeql-action#850 is supposed to be fixed. * Also fix a false Coverity warning.
This commit is contained in:
parent
a0d669232c
commit
d0844bfc70
6 changed files with 30 additions and 15 deletions
|
@ -1272,6 +1272,7 @@ static char* CreateUnattendXml(int arch, int mask)
|
|||
if (arch < ARCH_X86_32 || arch >= ARCH_ARM_64 || mask == 0)
|
||||
return NULL;
|
||||
arch--;
|
||||
// coverity[swapped_arguments]
|
||||
if (GetTempFileNameU(temp_dir, APPLICATION_NAME, 0, path) == 0)
|
||||
return NULL;
|
||||
fd = fopen(path, "w");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue