Commit 81f5cc1b authored by Kenton Varda's avatar Kenton Varda

Fix warning.

parent 5c851221
...@@ -675,19 +675,20 @@ private: ...@@ -675,19 +675,20 @@ private:
case DeclName::Base::RELATIVE_NAME: { case DeclName::Base::RELATIVE_NAME: {
auto value = base.getRelativeName(); auto value = base.getRelativeName();
errorReporter.addErrorOn(value, kj::str("Not defined: ", value.getValue())); errorReporter.addErrorOn(value, kj::str("Not defined: ", value.getValue()));
return nullptr; break;
} }
case DeclName::Base::ABSOLUTE_NAME: { case DeclName::Base::ABSOLUTE_NAME: {
auto value = base.getAbsoluteName(); auto value = base.getAbsoluteName();
errorReporter.addErrorOn(value, kj::str("Not defined: ", value.getValue())); errorReporter.addErrorOn(value, kj::str("Not defined: ", value.getValue()));
return nullptr; break;
} }
case DeclName::Base::IMPORT_NAME: { case DeclName::Base::IMPORT_NAME: {
auto value = base.getImportName(); auto value = base.getImportName();
errorReporter.addErrorOn(value, "Imports not allowed in encode input."); errorReporter.addErrorOn(value, "Imports not allowed in encode input.");
return nullptr; break;
} }
} }
return nullptr;
} }
private: private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment