summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-06-20 20:55:37 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-06-20 21:44:10 (GMT)
commit91d945a4e9618f1ff6077dbe9f6cd1bd2b9ff733 (patch)
tree705dc46db273c7f1f08338d996aa4942eb142bc5
parent24c4f18c7272b4eea9e2a85b20f1d18f28be69fa (diff)
downloadCMake-91d945a4e9618f1ff6077dbe9f6cd1bd2b9ff733.zip
CMake-91d945a4e9618f1ff6077dbe9f6cd1bd2b9ff733.tar.gz
CMake-91d945a4e9618f1ff6077dbe9f6cd1bd2b9ff733.tar.bz2
Remove unused ivars to eliminate compiler warnings
-rw-r--r--Source/CTest/cmCTestBZR.cxx3
-rw-r--r--Source/cmMakefileTargetGenerator.cxx6
2 files changed, 3 insertions, 6 deletions
diff --git a/Source/CTest/cmCTestBZR.cxx b/Source/CTest/cmCTestBZR.cxx
index 36302df..381c70c 100644
--- a/Source/CTest/cmCTestBZR.cxx
+++ b/Source/CTest/cmCTestBZR.cxx
@@ -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()
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index df89275..16e3e02 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -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)
{