ENH: fix warning and remove unused variable

This commit is contained in:
Bill Hoffman 2006-02-24 12:50:08 -05:00
parent 576f0b65c7
commit 7db7b981af
1 changed files with 2 additions and 3 deletions

View File

@ -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;