@iceman1001 s coverity scan fixes

This commit is contained in:
marshmellow42 2015-05-13 11:14:17 -04:00
parent 2b3af97df2
commit e6432f0579
7 changed files with 13 additions and 16 deletions

View file

@ -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);