mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-10 17:49:32 +08:00
fix cppchecker knownconditiontrueorfalse
This commit is contained in:
parent
656231acba
commit
49b19376fa
1 changed files with 1 additions and 1 deletions
|
@ -1601,7 +1601,7 @@ static int filelist(const char *path, const char *ext, uint8_t last, bool tentat
|
|||
filelist(newpath, ext, last + ((i == n - 1) << (indent + 1)), tentative, indent + 1, strlen(path));
|
||||
} else {
|
||||
|
||||
if ((ext == NULL) || (ext && (str_endswith(namelist[i]->d_name, ext)))) {
|
||||
if ((ext == NULL) || ((str_endswith(namelist[i]->d_name, ext)))) {
|
||||
|
||||
for (uint8_t j = 0; j < indent + 1; j++) {
|
||||
PrintAndLogEx(NORMAL, "%s " NOLF, ((last >> j) & 1) ? " " : "│");
|
||||
|
|
Loading…
Reference in a new issue