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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224139 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2014-12-12 18:37:43 +00:00
parent 7f4b22e7de
commit 879b54621e

View File

@ -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());
}