cmFileSys.c : Fixed harmless compiler warning in _cmFileSysDirGetEntries().
This commit is contained in:
parent
9bf87e175b
commit
887189b4d4
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user