diff options
Diffstat (limited to 'lld/ELF/Error.cpp')
-rw-r--r-- | lld/ELF/Error.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lld/ELF/Error.cpp b/lld/ELF/Error.cpp index e0d8e5fd887..2835f5643e1 100644 --- a/lld/ELF/Error.cpp +++ b/lld/ELF/Error.cpp @@ -54,11 +54,6 @@ void fatal(const Twine &Msg, const Twine &Prefix) { fatal(Prefix + ": " + Msg); } -void fatal(std::error_code EC, const Twine &Prefix) { - if (EC) - fatal(Prefix + ": " + EC.message()); -} - void fatal(std::error_code EC) { if (EC) fatal(EC.message()); |