Skip to content

Commit

Permalink
loop: Fix splint error
Browse files Browse the repository at this point in the history
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
  • Loading branch information
chrissie-c committed Mar 6, 2017
1 parent e336b71 commit 59eacf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/loop_poll.c
Expand Up @@ -723,7 +723,7 @@ qb_loop_signal_mod(qb_loop_t * lp,
sig->p = p;

if (sig->signal != the_sig) {
signal(sig->signal, SIG_DFL);
(void)signal(sig->signal, SIG_DFL);
sig->signal = the_sig;
_adjust_sigactions_(s);
}
Expand Down Expand Up @@ -774,7 +774,7 @@ qb_loop_signal_del(qb_loop_t * lp, qb_loop_signal_handle handle)
}

qb_list_del(&sig->item.list);
signal(sig->signal, SIG_DFL);
(void)signal(sig->signal, SIG_DFL);
free(sig);
_adjust_sigactions_(s);
return 0;
Expand Down

0 comments on commit 59eacf0

Please sign in to comment.