summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-11-08 16:22:12 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-11-08 16:26:20 +0000
commit66f63d18e1d08dd7364f2c267264b7103673cde6 (patch)
treeeb3f41d65579bb44e3129bd13d237ee836c6a8a8
parent24d507f4468a361ced298f1880485cebef8424a8 (diff)
downloadbcm5719-llvm-66f63d18e1d08dd7364f2c267264b7103673cde6.tar.gz
bcm5719-llvm-66f63d18e1d08dd7364f2c267264b7103673cde6.zip
Obj2YamlError - fix uninitialized variable warning. NFCI.
-rw-r--r--llvm/tools/obj2yaml/Error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/obj2yaml/Error.h b/llvm/tools/obj2yaml/Error.h
index 315d7f4bf49..8985338c929 100644
--- a/llvm/tools/obj2yaml/Error.h
+++ b/llvm/tools/obj2yaml/Error.h
@@ -41,7 +41,7 @@ public:
private:
std::string ErrMsg;
- obj2yaml_error Code;
+ obj2yaml_error Code = obj2yaml_error::success;
};
} // namespace llvm
OpenPOWER on IntegriCloud