mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-10 15:32:41 -07:00
@iceman1001 s coverity scan fixes
This commit is contained in:
parent
2b3af97df2
commit
e6432f0579
7 changed files with 13 additions and 16 deletions
|
@ -83,7 +83,7 @@ int CmdList(const char *Cmd)
|
|||
{
|
||||
while ((ep = readdir (dp)) != NULL)
|
||||
{
|
||||
if(ep->d_name != NULL && str_ends_with(ep->d_name, ".lua"))
|
||||
if(str_ends_with(ep->d_name, ".lua"))
|
||||
PrintAndLog("%-16s %s", ep->d_name, "A script file");
|
||||
}
|
||||
(void) closedir (dp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue