mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Warnings fixes (well.. the UPnP was actually a crash fix.)
This commit is contained in:
parent
3fc2708d65
commit
71ae1f8f00
@ -324,7 +324,7 @@ bool Compiler::visit(ExpressionStatement& _expressionStatement)
|
|||||||
{
|
{
|
||||||
Expression& expression = _expressionStatement.getExpression();
|
Expression& expression = _expressionStatement.getExpression();
|
||||||
ExpressionCompiler::compileExpression(m_context, expression);
|
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)
|
for (unsigned i = 0; i < expression.getType()->getSizeOnStack(); ++i)
|
||||||
m_context << eth::Instruction::POP;
|
m_context << eth::Instruction::POP;
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user