diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-24 17:50:08 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-02-24 17:50:08 (GMT) |
commit | 7db7b981afa37cb33c131c3ba1c559bb6d15b1a5 (patch) | |
tree | 57d329d64aae1ad09e8ad75995a96287701f8805 /Source | |
parent | 576f0b65c739bc719d493d66fc25c90404067943 (diff) | |
download | CMake-7db7b981afa37cb33c131c3ba1c559bb6d15b1a5.zip CMake-7db7b981afa37cb33c131c3ba1c559bb6d15b1a5.tar.gz CMake-7db7b981afa37cb33c131c3ba1c559bb6d15b1a5.tar.bz2 |
ENH: fix warning and remove unused variable
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmSourceGroupCommand.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmSourceGroupCommand.cxx b/Source/cmSourceGroupCommand.cxx index 32b652f..ba74b15 100644 --- a/Source/cmSourceGroupCommand.cxx +++ b/Source/cmSourceGroupCommand.cxx @@ -17,8 +17,7 @@ #include "cmSourceGroupCommand.h" inline std::vector<std::string> tokenize(const std::string& str, - const std::string& sep, - bool skipEmptyTokens) + const std::string& sep) { std::vector<std::string> tokens; if(str.size() == 0) @@ -64,7 +63,7 @@ bool cmSourceGroupCommand::InitialPass(std::vector<std::string> const& args) delimiter = m_Makefile->GetDefinition("SOURCE_GROUP_DELIMITER"); } - std::vector<std::string> folders = tokenize(args[0], delimiter, true); + std::vector<std::string> folders = tokenize(args[0], delimiter); const char *parent = NULL; cmSourceGroup* sg = NULL; |