diff options
author | Brad King <brad.king@kitware.com> | 2008-02-22 14:44:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-22 14:44:11 (GMT) |
commit | 5e7dce703e6f661521c5be6c108e929ac96b5255 (patch) | |
tree | bb66c9ceceb59d919f8c121b20b6b4578ecb404b | |
parent | f76464dd288f037403eb4c5ea7a19b762547f23b (diff) | |
download | CMake-5e7dce703e6f661521c5be6c108e929ac96b5255.zip CMake-5e7dce703e6f661521c5be6c108e929ac96b5255.tar.gz CMake-5e7dce703e6f661521c5be6c108e929ac96b5255.tar.bz2 |
COMP: Fix unreachable code warning in cmOrderDirectories.
-rw-r--r-- | Source/cmOrderDirectories.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmOrderDirectories.cxx b/Source/cmOrderDirectories.cxx index 4943356..25253d9 100644 --- a/Source/cmOrderDirectories.cxx +++ b/Source/cmOrderDirectories.cxx @@ -177,7 +177,7 @@ bool cmOrderDirectoriesConstraintSOName::FindConflict(std::string const& dir) std::set<cmStdString>::const_iterator first = files.lower_bound(base); ++base[base.size()-1]; std::set<cmStdString>::const_iterator last = files.upper_bound(base); - for(std::set<cmStdString>::const_iterator fi = first; fi != last; ++fi) + if(first != last) { return true; } |