remove unused variables
This commit is contained in:
parent
2d9fbbd94c
commit
4dec2a174a
|
@ -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,
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -64,7 +64,6 @@ std::string ctest::FindExecutable(const char *exe)
|
|||
{
|
||||
return fullPath;
|
||||
}
|
||||
std::string tried = dir;
|
||||
dir += "/";
|
||||
dir += m_ConfigType;
|
||||
dir += "/";
|
||||
|
|
Loading…
Reference in New Issue