Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed wrong error
  • Loading branch information
frankmorgner committed Apr 29, 2020
1 parent 7936bde commit 1202ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/opensc-notify.c
Expand Up @@ -190,7 +190,7 @@ static int cancellation_fd[] = {-1, -1};
void sig_handler(int sig) {
run_daemon = 0;
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wunused-result"
(void)write(cancellation_fd[1], &sig, sizeof sig);
#pragma GCC diagnostic pop
}
Expand Down

0 comments on commit 1202ece

Please sign in to comment.