diff options
author | Christian <c@ethdev.com> | 2014-11-10 07:42:12 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-11-10 07:42:12 +0800 |
commit | 91f9a7b7c41a099f2199bb4f62172c98b23120dd (patch) | |
tree | 8c398fb82243a4be8360a4ea26aec36cc28d0ef7 /Types.cpp | |
parent | 64a4d77c8b8c559c6e9aad712f7288e4f107e946 (diff) | |
download | dexon-solidity-91f9a7b7c41a099f2199bb4f62172c98b23120dd.tar.gz dexon-solidity-91f9a7b7c41a099f2199bb4f62172c98b23120dd.tar.zst dexon-solidity-91f9a7b7c41a099f2199bb4f62172c98b23120dd.zip |
Do not return after throw.
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -56,7 +56,6 @@ shared_ptr<Type> Type::fromElementaryTypeName(Token::Value _typeToken) else BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Unable to convert elementary typename " + std::string(Token::toString(_typeToken)) + " to type.")); - return shared_ptr<Type>(); } shared_ptr<Type> Type::fromUserDefinedTypeName(UserDefinedTypeName const& _typeName) @@ -67,7 +66,6 @@ shared_ptr<Type> Type::fromUserDefinedTypeName(UserDefinedTypeName const& _typeN shared_ptr<Type> Type::fromMapping(Mapping const&) { BOOST_THROW_EXCEPTION(InternalCompilerError() << errinfo_comment("Mapping types not yet implemented.")); - return shared_ptr<Type>(); } shared_ptr<Type> Type::forLiteral(Literal const& _literal) |