Remove unused enum value. NFC.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 24 Apr 2015 18:36:57 +0000 (18:36 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 24 Apr 2015 18:36:57 +0000 (18:36 +0000)
llvm-svn: 235742

lld/include/lld/Core/Error.h
lld/lib/Core/Error.cpp

index f8ca035..320c059 100644 (file)
@@ -22,7 +22,6 @@ namespace lld {
 const std::error_category &YamlReaderCategory();
 
 enum class YamlReaderError {
-  success = 0,
   unknown_keyword,
   illegal_value
 };
index cb67d8c..8b7a7e2 100644 (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: