Skip to content
Browse files

src: check uv_fs_close() return value

Coverity was complaining about not checking the return value.

PR-URL: #26967
Reviewed-By: Anna Henningsen <>
Reviewed-By: Richard Lau <>
Reviewed-By: Ben Noordhuis <>
  • Loading branch information...
cjihrig committed Mar 28, 2019
1 parent 9fbf0c6 commit bb98f271815f6f1357c3c7178a3367d439c44029
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/
@@ -494,7 +494,7 @@ inline Maybe<uv_file> OpenDescriptor(const std::string& path) {

inline void CloseDescriptor(uv_file fd) {
uv_fs_t fs_req;
uv_fs_close(nullptr, &fs_req, fd, nullptr);
CHECK_EQ(0, uv_fs_close(nullptr, &fs_req, fd, nullptr));

0 comments on commit bb98f27

Please sign in to comment.
You can’t perform that action at this time.