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:
parent
c69f13bfe1
commit
275e342ca9
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue