From 4ecb51fac64945603c39aedd6ac0a945ac18c9a9 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Fri, 8 Nov 2019 16:22:12 +0000 Subject: [PATCH] Obj2YamlError - fix uninitialized variable warning. NFCI. --- tools/obj2yaml/Error.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/obj2yaml/Error.h b/tools/obj2yaml/Error.h index 315d7f4bf49..8985338c929 100644 --- a/tools/obj2yaml/Error.h +++ b/tools/obj2yaml/Error.h @@ -41,7 +41,7 @@ public: private: std::string ErrMsg; - obj2yaml_error Code; + obj2yaml_error Code = obj2yaml_error::success; }; } // namespace llvm