From c1d535af0577d9d5f44954975ba907624ee8de11 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 24 Apr 2015 18:36:57 +0000 Subject: [PATCH] Remove unused enum value. NFC. llvm-svn: 235742 --- lld/include/lld/Core/Error.h | 1 - lld/lib/Core/Error.cpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/lld/include/lld/Core/Error.h b/lld/include/lld/Core/Error.h index f8ca035..320c059 100644 --- a/lld/include/lld/Core/Error.h +++ b/lld/include/lld/Core/Error.h @@ -22,7 +22,6 @@ namespace lld { const std::error_category &YamlReaderCategory(); enum class YamlReaderError { - success = 0, unknown_keyword, illegal_value }; diff --git a/lld/lib/Core/Error.cpp b/lld/lib/Core/Error.cpp index cb67d8c..8b7a7e2 100644 --- a/lld/lib/Core/Error.cpp +++ b/lld/lib/Core/Error.cpp @@ -24,8 +24,6 @@ public: std::string message(int ev) const override { switch (static_cast(ev)) { - case YamlReaderError::success: - return "Success"; case YamlReaderError::unknown_keyword: return "Unknown keyword found in yaml file"; case YamlReaderError::illegal_value: -- 2.7.4