summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Windows/Path.inc
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/Windows/Path.inc')
-rw-r--r--llvm/lib/Support/Windows/Path.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc
index 05c0986d049..c74033dcb6b 100644
--- a/llvm/lib/Support/Windows/Path.inc
+++ b/llvm/lib/Support/Windows/Path.inc
@@ -278,7 +278,6 @@ std::error_code resize_file(int FD, uint64_t Size) {
#else
errno_t error = ::_chsize(FD, Size);
#endif
- ::close(FD);
return std::error_code(error, std::generic_category());
}
OpenPOWER on IntegriCloud