diff --git a/Source/cmAbstractFilesCommand.cxx b/Source/cmAbstractFilesCommand.cxx index 2bfb6b5d90..74c02f372c 100644 --- a/Source/cmAbstractFilesCommand.cxx +++ b/Source/cmAbstractFilesCommand.cxx @@ -30,7 +30,6 @@ bool cmAbstractFilesCommand::InitialPass(std::vector const& argsIn) bool ret = true; std::string m = "could not find source file(s):\n"; - cmMakefile::SourceMap &Classes = m_Makefile->GetSources(); for(std::vector::const_iterator j = args.begin(); j != args.end(); ++j) { diff --git a/Source/cmSetCommand.cxx b/Source/cmSetCommand.cxx index 8ab33e4995..3708e28774 100644 --- a/Source/cmSetCommand.cxx +++ b/Source/cmSetCommand.cxx @@ -49,7 +49,7 @@ bool cmSetCommand::InitialPass(std::vector const& args) if(args[1] != "CACHE" && args[2] != "CACHE") { value = args[1]; - for(int i =2; i < args.size(); ++i) + for(unsigned int i =2; i < args.size(); ++i) { value += ";"; value += args[i];