Skip to content

Commit

Permalink
unix: fix -Wunused-but-set-variable warning
Browse files Browse the repository at this point in the history
PR-URL: libuv#2517
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Santiago Gimeno <[email protected]>
Reviewed-By: Saúl Ibarra Corretgé <[email protected]>
  • Loading branch information
zhaozg authored and bnoordhuis committed Dec 16, 2019
1 parent 3e56d99 commit 93ca478
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ static void uv__signal_stop(uv_signal_t* handle) {
if (first_oneshot && !rem_oneshot) {
ret = uv__signal_register_handler(handle->signum, 1);
assert(ret == 0);
(void)ret;
}
}

Expand Down

0 comments on commit 93ca478

Please sign in to comment.