浏览代码

COMP: Removed warning due to unsigned enum type.

Brad King 20 年之前
父节点
当前提交
5ddaebb522
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmCacheManager.cxx

+ 1 - 1
Source/cmCacheManager.cxx

@@ -39,7 +39,7 @@ const char* cmCacheManagerTypes[] =
 
 
 const char* cmCacheManager::TypeToString(cmCacheManager::CacheEntryType type)
 const char* cmCacheManager::TypeToString(cmCacheManager::CacheEntryType type)
 {
 {
-  if ( type > 6 || type < 0 )
+  if ( type > 6 )
     {
     {
     return cmCacheManagerTypes[6];
     return cmCacheManagerTypes[6];
     }
     }