aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorAnurag Dashputre <anurag4u80@gmail.com>2018-09-13 18:10:06 +0800
committerAnurag Dashputre <anurag4u80@gmail.com>2018-09-13 18:10:06 +0800
commitb86cea033bc3a31c15356b46e28e0f303490d52d (patch)
tree27bd09bfa056695bcb42bd7707fe50a8ed1d04bc /libsolidity
parent15c8c0d2cf92ef50c5bd9eac8c561463e131ff3a (diff)
downloaddexon-solidity-b86cea033bc3a31c15356b46e28e0f303490d52d.tar.gz
dexon-solidity-b86cea033bc3a31c15356b46e28e0f303490d52d.tar.zst
dexon-solidity-b86cea033bc3a31c15356b46e28e0f303490d52d.zip
Removed default case from "ExpressionCompiler::visit(FunctionCall...)".
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/codegen/ExpressionCompiler.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp
index 45e58bd0..23faeef5 100644
--- a/libsolidity/codegen/ExpressionCompiler.cpp
+++ b/libsolidity/codegen/ExpressionCompiler.cpp
@@ -1098,8 +1098,6 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
case FunctionType::Kind::GasLeft:
m_context << Instruction::GAS;
break;
- default:
- solAssert(false, "Invalid function type.");
}
}
return false;