Browse Source

cmFileSys.c : Fixed harmless compiler warning in _cmFileSysDirGetEntries().

master
kevin 9 years ago
parent
commit
887189b4d4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      cmFileSys.c

+ 1
- 1
cmFileSys.c View File

921
   while((dp = readdir(dirp)) != NULL )
921
   while((dp = readdir(dirp)) != NULL )
922
   {
922
   {
923
     // validate d_name 
923
     // validate d_name 
924
-    if( (dp->d_name != NULL) && ((dn = strlen(dp->d_name)) > 0) )
924
+    if( (dn = strlen(dp->d_name)) > 0 )
925
     {
925
     {
926
       unsigned flags = 0;
926
       unsigned flags = 0;
927
         
927
         

Loading…
Cancel
Save