remove unused variables

This commit is contained in:
Ken Martin 2002-09-15 09:54:08 -04:00
parent 2d9fbbd94c
commit 4dec2a174a
8 changed files with 0 additions and 13 deletions

View File

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

View File

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

View File

@ -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)
{

View File

@ -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")

View File

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

View File

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

View File

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

View File

@ -64,7 +64,6 @@ std::string ctest::FindExecutable(const char *exe)
{
return fullPath;
}
std::string tried = dir;
dir += "/";
dir += m_ConfigType;
dir += "/";