Remove unnecessary variables.
[oota-llvm.git] / lib / Support / Windows / Signals.inc
index 5add76a0c03b5967ba34bfa07a795aef5774b6a5..35ba6f8e1bba7542cf4c558c79bafab4b5a34dcb 100644 (file)
@@ -17,7 +17,7 @@
 #include <vector>
 
 // The Windows.h header must be after LLVM and standard headers.
-#include "Windows.h"
+#include "WindowsSupport.h"
 
 #ifdef __MINGW32__
  #include <imagehlp.h>
@@ -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();
     }