From 7db7b981afa37cb33c131c3ba1c559bb6d15b1a5 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 24 Feb 2006 12:50:08 -0500 Subject: ENH: fix warning and remove unused variable --- Source/cmSourceGroupCommand.cxx | 5 ++--- 1 file 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 tokenize(const std::string& str, - const std::string& sep, - bool skipEmptyTokens) + const std::string& sep) { std::vector tokens; if(str.size() == 0) @@ -64,7 +63,7 @@ bool cmSourceGroupCommand::InitialPass(std::vector const& args) delimiter = m_Makefile->GetDefinition("SOURCE_GROUP_DELIMITER"); } - std::vector folders = tokenize(args[0], delimiter, true); + std::vector folders = tokenize(args[0], delimiter); const char *parent = NULL; cmSourceGroup* sg = NULL; -- cgit v0.12