From e4e42f7ff8c99fafeec556ee4b4d685b5896e9c8 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 23 Feb 2014 13:37:37 +0000 Subject: [PATCH] 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 --- lib/Support/Windows/Signals.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); } -- 2.34.1