mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-09 22:13:07 +00:00
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:
parent
7f4b22e7de
commit
879b54621e
@ -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…
x
Reference in New Issue
Block a user