Commit 8da8d21c authored by Tobias Hunger's avatar Tobias Hunger

Remove some unused member variables

Change-Id: I4b1bcfe8da32bd48c601d1efdb7c3aac1d39cbce
Reviewed-by: default avatarLeandro Melo <leandro.melo@nokia.com>
parent 3a865849
......@@ -44,12 +44,10 @@ using namespace CPlusPlus;
namespace {
class DebugRule {
const char *name;
static int depth;
public:
DebugRule(const char *name, const char *spell, unsigned idx, bool blocked)
: name(name)
{
for (int i = 0; i <= depth; ++i)
fputc('-', stderr);
......
......@@ -385,8 +385,7 @@ FullySpecifiedType ApplySubstitution::applySubstitution(int index) const
} // end of anonymous namespace
DeprecatedGenTemplateInstance::DeprecatedGenTemplateInstance(QSharedPointer<Control> control, const Substitution &substitution)
: _symbol(0),
_control(control),
: _control(control),
_substitution(substitution)
{ }
......
......@@ -54,7 +54,6 @@ private:
FullySpecifiedType gen(Symbol *symbol);
private:
Symbol *_symbol;
QSharedPointer<Control> _control;
const Substitution _substitution;
};
......
......@@ -510,7 +510,6 @@ Check::Check(Document::Ptr doc, const ContextPtr &context)
, _context(context)
, _scopeChain(doc, _context)
, _scopeBuilder(&_scopeChain)
, _lastValue(0)
, _importsOk(false)
, _inStatementBinding(false)
{
......
......@@ -130,7 +130,6 @@ private:
QList<StaticAnalysis::Message> _messages;
QSet<StaticAnalysis::Type> _enabledMessages;
const Value *_lastValue;
QList<AST::Node *> _chain;
QStack<StringSet> m_idStack;
QStack<StringSet> m_propertyStack;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment