From 887189b4d4a1c91128ae31b86a35f58c0b1125cc Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 6 Aug 2015 15:52:40 -0400 Subject: [PATCH] cmFileSys.c : Fixed harmless compiler warning in _cmFileSysDirGetEntries(). --- cmFileSys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmFileSys.c b/cmFileSys.c index a5855fc..2c72103 100644 --- a/cmFileSys.c +++ b/cmFileSys.c @@ -921,7 +921,7 @@ cmFsRC_t _cmFileSysDirGetEntries( cmFileSysDeRecd_t* drp, const cmChar_t* dirSt while((dp = readdir(dirp)) != NULL ) { // validate d_name - if( (dp->d_name != NULL) && ((dn = strlen(dp->d_name)) > 0) ) + if( (dn = strlen(dp->d_name)) > 0 ) { unsigned flags = 0;