summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-06-16 11:29:48 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-06-16 11:29:48 +0000
commite9d5fb09a3311939882cd7b148cd1ddc69873510 (patch)
treee1706d1f73ea82b5ce8ed3a1c5aba179065288ee /llvm/lib
parent2b004debde8c62134e8df96b14fe69f95830c690 (diff)
downloadbcm5719-llvm-e9d5fb09a3311939882cd7b148cd1ddc69873510.tar.gz
bcm5719-llvm-e9d5fb09a3311939882cd7b148cd1ddc69873510.zip
Silence warning in Release builds.
llvm-svn: 184059
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