[ObjectYAML] Fixing a compiler warning
authorChris Bieneman <beanz@apple.com>
Thu, 22 Dec 2016 22:58:07 +0000 (22:58 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 22 Dec 2016 22:58:07 +0000 (22:58 +0000)
Accidentally re-defined the variable instead of setting it. Oops!

llvm-svn: 290388

llvm/tools/yaml2obj/yaml2dwarf.cpp

index 283b0df..8ba1190 100644 (file)
@@ -134,7 +134,7 @@ void yaml2debug_info(raw_ostream &OS, const DWARFYAML::Data &DI) {
            ++FormVal, ++AbbrForm) {
         dwarf::Form Form = AbbrForm->Form;
         do {
-          bool Indirect = false;
+          Indirect = false;
           switch (Form) {
           case dwarf::DW_FORM_addr:
             writeVariableSizedInteger(FormVal->Value, CU.AddrSize, OS,