commit | 9fcef6f85bb2bc79bd4c8c23506d7cdfd75aba69 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Tue Oct 15 09:33:14 2019 +0000 |
committer | Martin Storsjo <martin@martin.st> | Tue Oct 15 09:33:14 2019 +0000 |
tree | eb24b32d1c42c6f13a32a1135dbfc3683d348950 | |
parent | bb61331be7028438dde4bfae29080e35ebb6dcfc [diff] |
[LLD] [COFF] Fix -Wmissing-field-initializers warnings. NFC. git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@374873 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/COFF/SymbolTable.cpp b/COFF/SymbolTable.cpp index 61df04e..2d971a0 100644 --- a/COFF/SymbolTable.cpp +++ b/COFF/SymbolTable.cpp
@@ -157,7 +157,7 @@ if (fileLine) locations.push_back({sym, *fileLine}); else if (sym) - locations.push_back({sym}); + locations.push_back({sym, {"", 0}}); } }