diff options
author | Ken Martin <ken.martin@kitware.com> | 2008-03-20 14:46:24 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2008-03-20 14:46:24 (GMT) |
commit | 66a8c5763b3b4c6d0be9a5ef030240edfc2486dc (patch) | |
tree | ced43b0798413777aa54cc75d0240ad491f22e48 /Source/cmListFileCache.cxx | |
parent | a568a8552dc8422978eeeaab3ad2d6494d198add (diff) | |
download | CMake-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.cxx | 3 |
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; } } } |