diff options
author | Dave Lee <davelee.com@gmail.com> | 2017-11-07 22:33:07 +0000 |
---|---|---|
committer | Dave Lee <davelee.com@gmail.com> | 2017-11-07 22:33:07 +0000 |
commit | c227512ce4c2092f89e119d5fc429086bc466fe3 (patch) | |
tree | 9b8b339a0481dee7c0c769fbb9d93616ceae9c26 | |
parent | 03e4ae42d56ac20c68e19c4f68896204ac73b2d3 (diff) | |
download | bcm5719-llvm-c227512ce4c2092f89e119d5fc429086bc466fe3.tar.gz bcm5719-llvm-c227512ce4c2092f89e119d5fc429086bc466fe3.zip |
Fix build bots after r317622
Example build failure: http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/14660
TIL that the warning flags for local builds are loose compared to what build
servers use.
llvm-svn: 317626
-rw-r--r-- | llvm/tools/yaml2obj/yaml2elf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/yaml2obj/yaml2elf.cpp b/llvm/tools/yaml2obj/yaml2elf.cpp index 1792b128882..ae8dd15f596 100644 --- a/llvm/tools/yaml2obj/yaml2elf.cpp +++ b/llvm/tools/yaml2obj/yaml2elf.cpp @@ -76,7 +76,7 @@ public: } /// asserts if name is not present in the map unsigned get(StringRef Name) const { - unsigned Idx; + unsigned Idx = 0; assert(!lookup(Name, Idx) && "Expected section not found in index"); return Idx; } |