From: Rafael Espindola Date: Sun, 23 Feb 2014 13:37:37 +0000 (+0000) Subject: Use simpler form of llvm::sys::fs::remove. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e4e42f7ff8c99fafeec556ee4b4d685b5896e9c8;p=oota-llvm.git Use simpler form of llvm::sys::fs::remove. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201975 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/Windows/Signals.inc b/lib/Support/Windows/Signals.inc index a28b0b8003d..35ba6f8e1bb 100644 --- a/lib/Support/Windows/Signals.inc +++ b/lib/Support/Windows/Signals.inc @@ -318,8 +318,7 @@ static void Cleanup() { if (FilesToRemove != NULL) while (!FilesToRemove->empty()) { - bool Existed; - llvm::sys::fs::remove(FilesToRemove->back(), Existed); + llvm::sys::fs::remove(FilesToRemove->back()); FilesToRemove->pop_back(); }