aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerUtils.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-26 01:37:59 +0800
committerGitHub <noreply@github.com>2017-08-26 01:37:59 +0800
commit9e90ddcae5dd7fb6eb70e49f978979979cf39985 (patch)
tree81be45d85b534a81fab6aa35520e2f589cd0adef /libsolidity/codegen/CompilerUtils.cpp
parent6475bd9a72526011b495fae45aa6c8ddb514f611 (diff)
parentda56bde58f6099b199a109f528045953a5fe1bab (diff)
downloaddexon-solidity-9e90ddcae5dd7fb6eb70e49f978979979cf39985.tar
dexon-solidity-9e90ddcae5dd7fb6eb70e49f978979979cf39985.tar.gz
dexon-solidity-9e90ddcae5dd7fb6eb70e49f978979979cf39985.tar.bz2
dexon-solidity-9e90ddcae5dd7fb6eb70e49f978979979cf39985.tar.lz
dexon-solidity-9e90ddcae5dd7fb6eb70e49f978979979cf39985.tar.xz
dexon-solidity-9e90ddcae5dd7fb6eb70e49f978979979cf39985.tar.zst
dexon-solidity-9e90ddcae5dd7fb6eb70e49f978979979cf39985.zip
Merge pull request #2820 from ethereum/fallthrough
Fix some other fallthrough cases
Diffstat (limited to 'libsolidity/codegen/CompilerUtils.cpp')
-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 a0fc5d55..146472f9 100644
--- a/libsolidity/codegen/CompilerUtils.cpp
+++ b/libsolidity/codegen/CompilerUtils.cpp
@@ -829,6 +829,7 @@ void CompilerUtils::convertType(
break;
}
}
+ // fall-through
default:
// All other types should not be convertible to non-equal types.
solAssert(_typeOnStack == _targetType, "Invalid type conversion requested.");