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

This commit is contained in:
kevin 2015-08-06 15:52:40 -04:00
parent 9bf87e175b
commit 887189b4d4

View File

@ -921,7 +921,7 @@ cmFsRC_t _cmFileSysDirGetEntries( cmFileSysDeRecd_t* drp, const cmChar_t* dirSt
while((dp = readdir(dirp)) != NULL ) while((dp = readdir(dirp)) != NULL )
{ {
// validate d_name // validate d_name
if( (dp->d_name != NULL) && ((dn = strlen(dp->d_name)) > 0) ) if( (dn = strlen(dp->d_name)) > 0 )
{ {
unsigned flags = 0; unsigned flags = 0;