summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/MC/MCContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp
index b9977864a87..80de55eade5 100644
--- a/llvm/lib/MC/MCContext.cpp
+++ b/llvm/lib/MC/MCContext.cpp
@@ -44,6 +44,7 @@ MCContext::MCContext(const MCAsmInfo &mai, const MCRegisterInfo &mri,
error_code EC = llvm::sys::fs::current_path(CompilationDir);
assert(!EC && "Could not determine the current directory");
+ (void)EC;
MachOUniquingMap = 0;
ELFUniquingMap = 0;
OpenPOWER on IntegriCloud