Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix checks for null HANDLE in Windows-only code
clang-cl failed with "error: unordered comparison between pointer and zero ('HANDLE' (aka 'void *') and 'int')" in these two places introduced with f219283 "Sub-task CORE-4463: Windows implementation for CORE-4462 (Make it possible to restore compressed .nbk files without explicitly decompressing them)" and c2cfa78 "Prevent child process hung if it writes too much data to the pipe and overflow the pipe buffer".
- Loading branch information
a79117c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comparison with INVALID_HANDLE_VALUE would be more correct for Windows code.