aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2016-11-14 23:14:59 +0800
committerYoichi Hirai <i@yoichihirai.com>2016-11-14 23:14:59 +0800
commit1ff67b492a821054e5a3990f281500ebc0e56e83 (patch)
treebb340a4dfc5c56fb196c92516d219a55e53394a3 /libsolidity
parent68e776338701f6140d0e58470c503fabc35bc5dc (diff)
downloaddexon-solidity-1ff67b492a821054e5a3990f281500ebc0e56e83.tar
dexon-solidity-1ff67b492a821054e5a3990f281500ebc0e56e83.tar.gz
dexon-solidity-1ff67b492a821054e5a3990f281500ebc0e56e83.tar.bz2
dexon-solidity-1ff67b492a821054e5a3990f281500ebc0e56e83.tar.lz
dexon-solidity-1ff67b492a821054e5a3990f281500ebc0e56e83.tar.xz
dexon-solidity-1ff67b492a821054e5a3990f281500ebc0e56e83.tar.zst
dexon-solidity-1ff67b492a821054e5a3990f281500ebc0e56e83.zip
codegen: add a missing `break;`
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/codegen/CompilerUtils.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/codegen/CompilerUtils.cpp b/libsolidity/codegen/CompilerUtils.cpp
index dd133aea..54645289 100644
--- a/libsolidity/codegen/CompilerUtils.cpp
+++ b/libsolidity/codegen/CompilerUtils.cpp
@@ -666,6 +666,7 @@ void CompilerUtils::convertType(Type const& _typeOnStack, Type const& _targetTyp
solAssert(_targetType == _typeOnStack, "Invalid conversion for bool.");
if (_cleanupNeeded)
m_context << Instruction::ISZERO << Instruction::ISZERO;
+ break;
default:
// All other types should not be convertible to non-equal types.
solAssert(_typeOnStack == _targetType, "Invalid type conversion requested.");