Fix -Werror build after r213945
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 25 Jul 2014 15:00:02 +0000 (15:00 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 25 Jul 2014 15:00:02 +0000 (15:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213946 91177308-0d34-0410-b5e6-96231b3b80d8

lib/IR/UseListOrder.cpp

index 42398baaa37bf4c03326bc792f5c1ebf7a3adff9..c1d3561a64097855ec366f077332593ee6de29a7 100644 (file)
@@ -170,6 +170,7 @@ bool TempFile::init(const std::string &Ext) {
   SmallVector<char, 64> Vector;
   DEBUG(dbgs() << " - create-temp-file\n");
   if (auto EC = sys::fs::createTemporaryFile("use-list-order", Ext, Vector)) {
+    (void)EC;
     DEBUG(dbgs() << "error: " << EC.message() << "\n");
     return true;
   }