Removing extra default cases to force compile time error, instead of runtime.

This commit is contained in:
Anurag Dashputre
2018-09-30 12:40:38 +05:30
parent b86cea033b
commit 3321000f67
7 changed files with 5 additions and 28 deletions
-3
View File
@@ -49,9 +49,6 @@ Error::Error(Type _type, SourceLocation const& _location, string const& _descrip
case Type::Warning:
m_typeName = "Warning";
break;
default:
solAssert(false, "");
break;
}
if (!_location.isEmpty())