summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-03-20 14:46:24 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-03-20 14:46:24 (GMT)
commit66a8c5763b3b4c6d0be9a5ef030240edfc2486dc (patch)
treeced43b0798413777aa54cc75d0240ad491f22e48 /Source/cmListFileCache.cxx
parenta568a8552dc8422978eeeaab3ad2d6494d198add (diff)
downloadCMake-66a8c5763b3b4c6d0be9a5ef030240edfc2486dc.zip
CMake-66a8c5763b3b4c6d0be9a5ef030240edfc2486dc.tar.gz
CMake-66a8c5763b3b4c6d0be9a5ef030240edfc2486dc.tar.bz2
ENH: tiny performance improvement
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index c546f18..27a4878 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -163,7 +163,8 @@ bool cmListFile::ParseFile(const char* filename,
std::string name = cmSystemTools::LowerCase(i->Name);
if (allowedCommands.find(name) == allowedCommands.end())
{
- isProblem = true;
+ isProblem = true;
+ break;
}
}
}