aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ArrayUtils.cpp
diff options
context:
space:
mode:
authorAnurag Dashputre <anurag4u80@gmail.com>2018-09-30 15:10:38 +0800
committerAnurag Dashputre <anurag4u80@gmail.com>2018-09-30 15:10:38 +0800
commit3321000f67add785383adb4ec544aad121552751 (patch)
tree716675d37af1010521d53f7713a7ba4c5bcb38ee /libsolidity/codegen/ArrayUtils.cpp
parentb86cea033bc3a31c15356b46e28e0f303490d52d (diff)
downloaddexon-solidity-3321000f67add785383adb4ec544aad121552751.tar
dexon-solidity-3321000f67add785383adb4ec544aad121552751.tar.gz
dexon-solidity-3321000f67add785383adb4ec544aad121552751.tar.bz2
dexon-solidity-3321000f67add785383adb4ec544aad121552751.tar.lz
dexon-solidity-3321000f67add785383adb4ec544aad121552751.tar.xz
dexon-solidity-3321000f67add785383adb4ec544aad121552751.tar.zst
dexon-solidity-3321000f67add785383adb4ec544aad121552751.zip
Removing extra default cases to force compile time error, instead of runtime.
Diffstat (limited to 'libsolidity/codegen/ArrayUtils.cpp')
-rw-r--r--libsolidity/codegen/ArrayUtils.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libsolidity/codegen/ArrayUtils.cpp b/libsolidity/codegen/ArrayUtils.cpp
index 2b77db8f..d33f749c 100644
--- a/libsolidity/codegen/ArrayUtils.cpp
+++ b/libsolidity/codegen/ArrayUtils.cpp
@@ -1108,8 +1108,6 @@ void ArrayUtils::accessIndex(ArrayType const& _arrayType, bool _doBoundsCheck) c
m_context << endTag;
break;
}
- default:
- solAssert(false, "");
}
}