Remove unused enum value. NFC.

llvm-svn: 235742
This commit is contained in:
Rafael Espindola 2015-04-24 18:36:57 +00:00
parent dedab912c3
commit c1d535af05
2 changed files with 0 additions and 3 deletions

View File

@ -22,7 +22,6 @@ namespace lld {
const std::error_category &YamlReaderCategory();
enum class YamlReaderError {
success = 0,
unknown_keyword,
illegal_value
};

View File

@ -24,8 +24,6 @@ public:
std::string message(int ev) const override {
switch (static_cast<YamlReaderError>(ev)) {
case YamlReaderError::success:
return "Success";
case YamlReaderError::unknown_keyword:
return "Unknown keyword found in yaml file";
case YamlReaderError::illegal_value: