Commit 7db7b981 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: fix warning and remove unused variable

parent 576f0b65
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment