Resolve warnings about unused variables.
This commit is contained in:
parent
4b3cb25876
commit
bd8bdb6fdd
|
@ -200,7 +200,6 @@ void cmGlobalVisualStudio6Generator
|
||||||
tt != orderedProjectTargets.end(); ++tt)
|
tt != orderedProjectTargets.end(); ++tt)
|
||||||
{
|
{
|
||||||
cmTarget* target = *tt;
|
cmTarget* target = *tt;
|
||||||
cmMakefile* mf = target->GetMakefile();
|
|
||||||
// Write the project into the DSW file
|
// Write the project into the DSW file
|
||||||
const char* expath = target->GetProperty("EXTERNAL_MSPROJECT");
|
const char* expath = target->GetProperty("EXTERNAL_MSPROJECT");
|
||||||
if(expath)
|
if(expath)
|
||||||
|
|
|
@ -84,7 +84,6 @@ cmLocalVisualStudioGenerator
|
||||||
const char* newline_text)
|
const char* newline_text)
|
||||||
{
|
{
|
||||||
bool useLocal = this->CustomCommandUseLocal();
|
bool useLocal = this->CustomCommandUseLocal();
|
||||||
const cmCustomCommandLines& commandLines = cc.GetCommandLines();
|
|
||||||
const char* workingDirectory = cc.GetWorkingDirectory();
|
const char* workingDirectory = cc.GetWorkingDirectory();
|
||||||
cmCustomCommandGenerator ccg(cc, configName, this->Makefile);
|
cmCustomCommandGenerator ccg(cc, configName, this->Makefile);
|
||||||
RelativeRoot relativeRoot = workingDirectory? NONE : START_OUTPUT;
|
RelativeRoot relativeRoot = workingDirectory? NONE : START_OUTPUT;
|
||||||
|
|
|
@ -564,6 +564,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement()
|
||||||
// for instance ARG_MAX is 2096152 on Ubuntu or 262144 on Mac
|
// for instance ARG_MAX is 2096152 on Ubuntu or 262144 on Mac
|
||||||
commandLineLengthLimit = ((int)sysconf(_SC_ARG_MAX))-linkRuleLength-1000;
|
commandLineLengthLimit = ((int)sysconf(_SC_ARG_MAX))-linkRuleLength-1000;
|
||||||
#else
|
#else
|
||||||
|
(void)linkRuleLength;
|
||||||
commandLineLengthLimit = -1;
|
commandLineLengthLimit = -1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -907,7 +907,6 @@ bool cmVisualStudio10TargetGenerator::OutputSourceSpecificFlags(
|
||||||
cmSourceFile* source)
|
cmSourceFile* source)
|
||||||
{
|
{
|
||||||
cmSourceFile& sf = *source;
|
cmSourceFile& sf = *source;
|
||||||
cmLocalVisualStudio7Generator* lg = this->LocalGenerator;
|
|
||||||
|
|
||||||
std::string objectName;
|
std::string objectName;
|
||||||
if(this->GeneratorTarget->ExplicitObjectName.find(&sf)
|
if(this->GeneratorTarget->ExplicitObjectName.find(&sf)
|
||||||
|
|
Loading…
Reference in New Issue