diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-15 13:54:08 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-15 13:54:08 (GMT) |
commit | 4dec2a174a83415e9b6d26f4d0e0750111a051ef (patch) | |
tree | acfdb2c1ba2a7ec5147dabdbdcc079c61a839992 | |
parent | 2d9fbbd94ce170e04ee1dbea72a1dcb909db951b (diff) | |
download | CMake-4dec2a174a83415e9b6d26f4d0e0750111a051ef.zip CMake-4dec2a174a83415e9b6d26f4d0e0750111a051ef.tar.gz CMake-4dec2a174a83415e9b6d26f4d0e0750111a051ef.tar.bz2 |
remove unused variables
-rw-r--r-- | Source/cmAddCustomCommandCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmAddDependenciesCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmCacheManager.cxx | 5 | ||||
-rw-r--r-- | Source/cmExecProgramCommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmFLTKWrapUICommand.cxx | 1 | ||||
-rw-r--r-- | Source/cmListFileCache.cxx | 2 | ||||
-rw-r--r-- | Source/cmaketest.cxx | 1 | ||||
-rw-r--r-- | Source/ctest.cxx | 1 |
8 files changed, 0 insertions, 13 deletions
diff --git a/Source/cmAddCustomCommandCommand.cxx b/Source/cmAddCustomCommandCommand.cxx index f601ecc..969c68b 100644 --- a/Source/cmAddCustomCommandCommand.cxx +++ b/Source/cmAddCustomCommandCommand.cxx @@ -34,7 +34,6 @@ bool cmAddCustomCommandCommand::InitialPass(std::vector<std::string> const& args std::string source, command, target; std::vector<std::string> command_args, depends, outputs; - std::string outDir = m_Makefile->GetCurrentOutputDirectory(); enum tdoing { doing_source, diff --git a/Source/cmAddDependenciesCommand.cxx b/Source/cmAddDependenciesCommand.cxx index de444ea..161005e 100644 --- a/Source/cmAddDependenciesCommand.cxx +++ b/Source/cmAddDependenciesCommand.cxx @@ -35,7 +35,6 @@ bool cmAddDependenciesCommand::InitialPass(std::vector<std::string> const& argsI { std::vector<std::string>::const_iterator s = args.begin(); ++s; - std::string depend_target; for (; s != args.end(); ++s) { tgts[target_name].AddUtility(s->c_str()); diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index e6aec2c..f77c231 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -128,11 +128,6 @@ bool cmCacheManager::LoadCache(const char* path, const int bsize = 4096; char buffer[bsize]; char *realbuffer; - // input line is: key:type=value - cmRegularExpression reg("^([^:]*):([^=]*)=(.*[^\t ]|[\t ]*)[\t ]*$"); - // input line is: "key":type=value - cmRegularExpression regQuoted("^\"([^\"]*)\":([^=]*)=(.*[^\t ]|[\t ]*)[\t ]*$"); - std::string entryKey; while(fin) { diff --git a/Source/cmExecProgramCommand.cxx b/Source/cmExecProgramCommand.cxx index a5e6e53..378fe27 100644 --- a/Source/cmExecProgramCommand.cxx +++ b/Source/cmExecProgramCommand.cxx @@ -32,7 +32,6 @@ bool cmExecProgramCommand::InitialPass(std::vector<std::string> const& args) bool haveoutput_variable = false; std::string return_variable; bool havereturn_variable = false; - std::string e_command; for(size_t i=0; i < args.size(); ++i) { if(args[i] == "OUTPUT_VARIABLE") diff --git a/Source/cmFLTKWrapUICommand.cxx b/Source/cmFLTKWrapUICommand.cxx index dca57bf..c438301 100644 --- a/Source/cmFLTKWrapUICommand.cxx +++ b/Source/cmFLTKWrapUICommand.cxx @@ -76,7 +76,6 @@ bool cmFLTKWrapUICommand::InitialPass(std::vector<std::string> const& args) outputDirectory.c_str(), "cxx",!headerFileOnly); std::string origname = cdir + "/" + *i; std::string hname = header_file.GetFullPath(); - std::string cxxname = source_file.GetFullPath(); m_WrapUserInterface.push_back(origname); // add starting depends source_file.GetDepends().push_back(hname); diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx index fcfd75c..83dd3cf 100644 --- a/Source/cmListFileCache.cxx +++ b/Source/cmListFileCache.cxx @@ -88,8 +88,6 @@ bool cmListFileCache::CacheFile(const char* path) cmSystemTools::Error("cmListFileCache: error can not open file ", path); return false; } - std::string name; - std::vector<std::string> arguments; cmListFile inFile; inFile.m_ModifiedTime = cmSystemTools::ModifiedTime(path); bool parseError; diff --git a/Source/cmaketest.cxx b/Source/cmaketest.cxx index 8030983..3fe0780 100644 --- a/Source/cmaketest.cxx +++ b/Source/cmaketest.cxx @@ -145,7 +145,6 @@ int main (int argc, char **argv) makeCommand = cmSystemTools::ConvertToOutputPath(makeCommand.c_str()); std::string lowerCaseCommand = makeCommand; cmSystemTools::LowerCase(lowerCaseCommand); - std::string dartMakeCommand = DART_MAKECOMMAND; // if msdev is the make program then do the following // MSDEV 6.0 if(lowerCaseCommand.find("msdev") != std::string::npos) diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 70ceb36..a2387c3 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -64,7 +64,6 @@ std::string ctest::FindExecutable(const char *exe) { return fullPath; } - std::string tried = dir; dir += "/"; dir += m_ConfigType; dir += "/"; |