aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-12-03 03:18:01 +0800
committerGav Wood <i@gavwood.com>2014-12-03 03:18:01 +0800
commit71ae1f8f00c5d384634496c58530adc8fb6be16e (patch)
treed82b040586cc70c6c4fac1853f8e3a371b1c511a /Compiler.cpp
parent3fc2708d657525162567b663a07cf8cb5b1c59aa (diff)
downloaddexon-solidity-71ae1f8f00c5d384634496c58530adc8fb6be16e.tar.gz
dexon-solidity-71ae1f8f00c5d384634496c58530adc8fb6be16e.tar.zst
dexon-solidity-71ae1f8f00c5d384634496c58530adc8fb6be16e.zip
Warnings fixes (well.. the UPnP was actually a crash fix.)
Diffstat (limited to 'Compiler.cpp')
-rw-r--r--Compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Compiler.cpp b/Compiler.cpp
index 988390d0..17ad4fd1 100644
--- a/Compiler.cpp
+++ b/Compiler.cpp
@@ -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;