summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-03-30 22:17:59 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-03-30 22:17:59 (GMT)
commit7e2a78b49958708b2205c77e9eddd31813ea5532 (patch)
treeb874d3997c6c862531c304e2446d63b20fd26cfc
parent701f0d6413275a0c017ab356c56a946c17076b43 (diff)
downloadCMake-7e2a78b49958708b2205c77e9eddd31813ea5532.zip
CMake-7e2a78b49958708b2205c77e9eddd31813ea5532.tar.gz
CMake-7e2a78b49958708b2205c77e9eddd31813ea5532.tar.bz2
FIX: get rid of warnings
-rw-r--r--Source/cmAbstractFilesCommand.cxx1
-rw-r--r--Source/cmSetCommand.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmAbstractFilesCommand.cxx b/Source/cmAbstractFilesCommand.cxx
index 2bfb6b5..74c02f3 100644
--- a/Source/cmAbstractFilesCommand.cxx
+++ b/Source/cmAbstractFilesCommand.cxx
@@ -30,7 +30,6 @@ bool cmAbstractFilesCommand::InitialPass(std::vector<std::string> const& argsIn)
bool ret = true;
std::string m = "could not find source file(s):\n";
- cmMakefile::SourceMap &Classes = m_Makefile->GetSources();
for(std::vector<std::string>::const_iterator j = args.begin();
j != args.end(); ++j)
{
diff --git a/Source/cmSetCommand.cxx b/Source/cmSetCommand.cxx
index 8ab33e4..3708e28 100644
--- a/Source/cmSetCommand.cxx
+++ b/Source/cmSetCommand.cxx
@@ -49,7 +49,7 @@ bool cmSetCommand::InitialPass(std::vector<std::string> 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];