mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-25 08:35:56 +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,9 +63,10 @@ int scandir (const char *dir,
|
||||||
if (err_no != 0) {
|
if (err_no != 0) {
|
||||||
closedir (dirp);
|
closedir (dirp);
|
||||||
if (nl) {
|
if (nl) {
|
||||||
while (count > 0)
|
while (count > 0) {
|
||||||
free (nl[--count]);
|
free (nl[--count]);
|
||||||
free (nl);
|
}
|
||||||
|
free (nl);
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue