Преглед изворни кода

Merge topic 'remove-unused-members'

aef248a Remove cmExprParserHelper::SetLineFile()
e266571 Remove UnionsAvailable member from 2 classes
David Cole пре 14 година
родитељ
комит
7fbd323f80
3 измењених фајлова са 0 додато и 10 уклоњено
  1. 0 1
      Source/cmCommandArgumentParserHelper.h
  2. 0 6
      Source/cmExprParserHelper.cxx
  3. 0 3
      Source/cmExprParserHelper.h

+ 0 - 1
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);

+ 0 - 6
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)

+ 0 - 3
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);