mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02: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. llvm-svn: 224139
This commit is contained in:
parent
de997f41a2
commit
518ffae495
@ -278,7 +278,6 @@ std::error_code resize_file(int FD, uint64_t Size) {
|
|||||||
#else
|
#else
|
||||||
errno_t error = ::_chsize(FD, Size);
|
errno_t error = ::_chsize(FD, Size);
|
||||||
#endif
|
#endif
|
||||||
::close(FD);
|
|
||||||
return std::error_code(error, std::generic_category());
|
return std::error_code(error, std::generic_category());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user