mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-25 16:45:09 +08:00
fix: remove gcc7.3.0 warning
This commit is contained in:
parent
b9676e6c93
commit
12af27967b
1 changed files with 3 additions and 2 deletions
|
@ -63,8 +63,9 @@ int scandir (const char *dir,
|
|||
if (err_no != 0) {
|
||||
closedir (dirp);
|
||||
if (nl) {
|
||||
while (count > 0)
|
||||
while (count > 0) {
|
||||
free (nl[--count]);
|
||||
}
|
||||
free (nl);
|
||||
}
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue