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
This commit is contained in:
Rafael Espindola 2014-12-12 18:37:43 +00:00
parent c69f13bfe1
commit 275e342ca9
1 changed files with 0 additions and 1 deletions

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