Fix -Werror build after r213945

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213946 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan P. N. Exon Smith 2014-07-25 15:00:02 +00:00
parent 7bf73bd378
commit d8d3b4dc61

View 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;
}