Skip to content

Commit 275e342

Browse files
committed
Remove silly left over from the Windows resize_file implementation.
I didn't notice the problem first because on a non debug build the CRT was just exiting the process without any message. llvm-svn: 224139
1 parent c69f13b commit 275e342

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Support/Windows/Path.inc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ std::error_code resize_file(int FD, uint64_t Size) {
278278
#else
279279
errno_t error = ::_chsize(FD, Size);
280280
#endif
281-
::close(FD);
282281
return std::error_code(error, std::generic_category());
283282
}
284283

0 commit comments

Comments
 (0)