diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-12 18:37:43 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-12 18:37:43 +0000 |
commit | 275e342ca91a28a2da6aac259bf0995b811d8d46 (patch) | |
tree | d0355bc51e18a729da95f98e5470d945b2ffc202 /llvm/lib/Support/Windows/Path.inc | |
parent | c69f13bfe1b7c0f663ea204f6e961d669f4bab02 (diff) | |
download | bcm5719-llvm-275e342ca91a28a2da6aac259bf0995b811d8d46.tar.gz bcm5719-llvm-275e342ca91a28a2da6aac259bf0995b811d8d46.zip |
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
Diffstat (limited to 'llvm/lib/Support/Windows/Path.inc')
-rw-r--r-- | llvm/lib/Support/Windows/Path.inc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc index 05c0986d049..c74033dcb6b 100644 --- a/llvm/lib/Support/Windows/Path.inc +++ b/llvm/lib/Support/Windows/Path.inc @@ -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()); } |