diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2019-01-11 15:59:51 -0500 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2019-05-13 22:11:50 -0400 |
commit | 69c85fa88eba53d9444119b726528243c0f56382 (patch) | |
tree | fc024fcae5aa388dd3d5c4255c127d01ac3a4049 /docs/src | |
parent | a833f921b8860b9222d56c6c477e7891b95ebc41 (diff) | |
download | libuv-69c85fa88eba53d9444119b726528243c0f56382.tar.gz libuv-69c85fa88eba53d9444119b726528243c0f56382.zip |
unix: fix clang scan-build warning
When building libuv with clang scan-build, an "Assigned value is
garbage or undefined" warning is emitted unless the return value
of open() is verified to be >= 0. This commit fixes the warning.
PR-URL: https://github.com/libuv/libuv/pull/2140
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions