Remove unused ivars to eliminate compiler warnings

This commit is contained in:
David Cole 2012-06-20 16:55:37 -04:00
parent 24c4f18c72
commit 91d945a4e9
2 changed files with 3 additions and 6 deletions

View File

@ -128,13 +128,12 @@ class cmCTestBZR::RevnoParser: public cmCTestVC::LineParser
{
public:
RevnoParser(cmCTestBZR* bzr, const char* prefix, std::string& rev):
BZR(bzr), Rev(rev)
Rev(rev)
{
this->SetLog(&bzr->Log, prefix);
this->RegexRevno.compile("^([0-9]+)$");
}
private:
cmCTestBZR* BZR;
std::string& Rev;
cmsys::RegularExpression RegexRevno;
virtual bool ProcessLine()

View File

@ -1416,10 +1416,9 @@ class cmMakefileTargetGeneratorObjectStrings
{
public:
cmMakefileTargetGeneratorObjectStrings(std::vector<std::string>& strings,
cmMakefile* mf,
cmLocalUnixMakefileGenerator3* lg,
std::string::size_type limit):
Strings(strings), Makefile(mf), LocalGenerator(lg), LengthLimit(limit)
Strings(strings), LocalGenerator(lg), LengthLimit(limit)
{
this->Space = "";
}
@ -1454,7 +1453,6 @@ public:
}
private:
std::vector<std::string>& Strings;
cmMakefile* Makefile;
cmLocalUnixMakefileGenerator3* LocalGenerator;
std::string::size_type LengthLimit;
std::string CurrentString;
@ -1469,7 +1467,7 @@ cmMakefileTargetGenerator
std::string::size_type limit)
{
cmMakefileTargetGeneratorObjectStrings
helper(objStrings, this->Makefile, this->LocalGenerator, limit);
helper(objStrings, this->LocalGenerator, limit);
for(std::vector<std::string>::const_iterator i = this->Objects.begin();
i != this->Objects.end(); ++i)
{