summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-03-06 20:27:08 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-03-06 20:27:08 (GMT)
commit7fbd323f8056ce6deda71a88d07f8f2a3ca98e76 (patch)
treefd5abb2e3c235f94bb3589aac2759d37b15005f9
parent481b2aa1010f160c17acce72217e91be128ab033 (diff)
parentaef248a4ff675aeb4af6aa44322bed76f4bcf990 (diff)
downloadCMake-7fbd323f8056ce6deda71a88d07f8f2a3ca98e76.zip
CMake-7fbd323f8056ce6deda71a88d07f8f2a3ca98e76.tar.gz
CMake-7fbd323f8056ce6deda71a88d07f8f2a3ca98e76.tar.bz2
Merge topic 'remove-unused-members'
aef248a Remove cmExprParserHelper::SetLineFile() e266571 Remove UnionsAvailable member from 2 classes
-rw-r--r--Source/cmCommandArgumentParserHelper.h1
-rw-r--r--Source/cmExprParserHelper.cxx6
-rw-r--r--Source/cmExprParserHelper.h3
3 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmCommandArgumentParserHelper.h b/Source/cmCommandArgumentParserHelper.h
index a211e95..cdb832b 100644
--- a/Source/cmCommandArgumentParserHelper.h
+++ b/Source/cmCommandArgumentParserHelper.h
@@ -81,7 +81,6 @@ private:
cmStdString InputBuffer;
std::vector<char> OutputBuffer;
int CurrentLine;
- int UnionsAvailable;
int Verbose;
void Print(const char* place, const char* str);
diff --git a/Source/cmExprParserHelper.cxx b/Source/cmExprParserHelper.cxx
index ee37352..7728d74 100644
--- a/Source/cmExprParserHelper.cxx
+++ b/Source/cmExprParserHelper.cxx
@@ -30,12 +30,6 @@ cmExprParserHelper::~cmExprParserHelper()
this->CleanupParser();
}
-void cmExprParserHelper::SetLineFile(long line, const char* file)
-{
- this->FileLine = line;
- this->FileName = file;
-}
-
int cmExprParserHelper::ParseString(const char* str, int verb)
{
if ( !str)
diff --git a/Source/cmExprParserHelper.h b/Source/cmExprParserHelper.h
index 0c36b44..690426d 100644
--- a/Source/cmExprParserHelper.h
+++ b/Source/cmExprParserHelper.h
@@ -46,8 +46,6 @@ public:
int GetResult() { return this->Result; }
- void SetLineFile(long line, const char* file);
-
const char* GetError() { return this->ErrorString.c_str(); }
private:
@@ -55,7 +53,6 @@ private:
cmStdString InputBuffer;
std::vector<char> OutputBuffer;
int CurrentLine;
- int UnionsAvailable;
int Verbose;
void Print(const char* place, const char* str);