diff options
Diffstat (limited to 'lld/ELF/Error.cpp')
| -rw-r--r-- | lld/ELF/Error.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/ELF/Error.cpp b/lld/ELF/Error.cpp index 3afaedbd9f9..39246e6426c 100644 --- a/lld/ELF/Error.cpp +++ b/lld/ELF/Error.cpp @@ -24,7 +24,6 @@ using namespace llvm; namespace lld { -bool elf::HasError; uint64_t elf::ErrorCount; raw_ostream *elf::ErrorOS; StringRef elf::Argv0; @@ -59,7 +58,6 @@ void elf::error(const Twine &Msg) { exitLld(1); } - HasError = true; ++ErrorCount; } |

