From 2ae16a6e4c8e7c209a22a2d589d8e15d5b470b19 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Thu, 22 Dec 2016 22:58:07 +0000 Subject: [PATCH] [ObjectYAML] Fixing a compiler warning Accidentally re-defined the variable instead of setting it. Oops! llvm-svn: 290388 --- tools/yaml2obj/yaml2dwarf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/yaml2obj/yaml2dwarf.cpp b/tools/yaml2obj/yaml2dwarf.cpp index 283b0df0f62..8ba1190c56a 100644 --- a/tools/yaml2obj/yaml2dwarf.cpp +++ b/tools/yaml2obj/yaml2dwarf.cpp @@ -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,