Warnings fixes (well.. the UPnP was actually a crash fix.)

This commit is contained in:
Gav Wood 2014-12-02 20:18:01 +01:00
parent 3fc2708d65
commit 71ae1f8f00

View File

@ -324,7 +324,7 @@ bool Compiler::visit(ExpressionStatement& _expressionStatement)
{
Expression& expression = _expressionStatement.getExpression();
ExpressionCompiler::compileExpression(m_context, expression);
Type::Category category = expression.getType()->getCategory();
// Type::Category category = expression.getType()->getCategory();
for (unsigned i = 0; i < expression.getType()->getSizeOnStack(); ++i)
m_context << eth::Instruction::POP;
return false;