From 7db7b981afa37cb33c131c3ba1c559bb6d15b1a5 Mon Sep 17 00:00:00 2001 From: Bill Hoffman <bill.hoffman@kitware.com> Date: Fri, 24 Feb 2006 12:50:08 -0500 Subject: [PATCH] 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 32b652f9b5..ba74b15be4 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; -- GitLab