diff options
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/Windows/Path.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc index 7cb95c4e36b..a0724e55513 100644 --- a/llvm/lib/Support/Windows/Path.inc +++ b/llvm/lib/Support/Windows/Path.inc @@ -657,9 +657,6 @@ error_code status(const Twine &path, file_status &result) { 0)); if (!h) return getStatus(INVALID_HANDLE_VALUE, result); - BY_HANDLE_FILE_INFORMATION Info; - if (!::GetFileInformationByHandle(h, &Info)) - return getStatus(INVALID_HANDLE_VALUE, result); return getStatus(h, result); } |