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)
llvm-svn: 213946

llvm/lib/IR/UseListOrder.cpp

index 42398ba..c1d3561 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;
   }