Remove some unused member variables

Change-Id: I4b1bcfe8da32bd48c601d1efdb7c3aac1d39cbce
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
Tobias Hunger
2012-08-21 12:35:41 +02:00
parent 3a8658496a
commit 8da8d21c18
5 changed files with 1 additions and 7 deletions

View File

@@ -44,12 +44,10 @@ using namespace CPlusPlus;
namespace { namespace {
class DebugRule { class DebugRule {
const char *name;
static int depth; static int depth;
public: public:
DebugRule(const char *name, const char *spell, unsigned idx, bool blocked) DebugRule(const char *name, const char *spell, unsigned idx, bool blocked)
: name(name)
{ {
for (int i = 0; i <= depth; ++i) for (int i = 0; i <= depth; ++i)
fputc('-', stderr); fputc('-', stderr);

View File

@@ -385,8 +385,7 @@ FullySpecifiedType ApplySubstitution::applySubstitution(int index) const
} // end of anonymous namespace } // end of anonymous namespace
DeprecatedGenTemplateInstance::DeprecatedGenTemplateInstance(QSharedPointer<Control> control, const Substitution &substitution) DeprecatedGenTemplateInstance::DeprecatedGenTemplateInstance(QSharedPointer<Control> control, const Substitution &substitution)
: _symbol(0), : _control(control),
_control(control),
_substitution(substitution) _substitution(substitution)
{ } { }

View File

@@ -54,7 +54,6 @@ private:
FullySpecifiedType gen(Symbol *symbol); FullySpecifiedType gen(Symbol *symbol);
private: private:
Symbol *_symbol;
QSharedPointer<Control> _control; QSharedPointer<Control> _control;
const Substitution _substitution; const Substitution _substitution;
}; };

View File

@@ -510,7 +510,6 @@ Check::Check(Document::Ptr doc, const ContextPtr &context)
, _context(context) , _context(context)
, _scopeChain(doc, _context) , _scopeChain(doc, _context)
, _scopeBuilder(&_scopeChain) , _scopeBuilder(&_scopeChain)
, _lastValue(0)
, _importsOk(false) , _importsOk(false)
, _inStatementBinding(false) , _inStatementBinding(false)
{ {

View File

@@ -130,7 +130,6 @@ private:
QList<StaticAnalysis::Message> _messages; QList<StaticAnalysis::Message> _messages;
QSet<StaticAnalysis::Type> _enabledMessages; QSet<StaticAnalysis::Type> _enabledMessages;
const Value *_lastValue;
QList<AST::Node *> _chain; QList<AST::Node *> _chain;
QStack<StringSet> m_idStack; QStack<StringSet> m_idStack;
QStack<StringSet> m_propertyStack; QStack<StringSet> m_propertyStack;