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
This commit is contained in:
Dave Lee 2017-11-07 22:33:07 +00:00
parent 03e4ae42d5
commit c227512ce4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}