diff --git a/src/defaults.c b/src/defaults.c index 9b490ecb..37354488 100644 --- a/src/defaults.c +++ b/src/defaults.c @@ -2903,6 +2903,10 @@ static void trackDeadProcess(pid_t pid, unsigned int status, void *client_data) { WScreen *scr = (WScreen *) client_data; + /* Parameter not used, but tell the compiler that it is ok */ + (void) pid; + (void) status; + close(scr->helper_fd); scr->helper_fd = 0; scr->helper_pid = 0; diff --git a/src/main.c b/src/main.c index ae89eff4..59a21f7a 100644 --- a/src/main.c +++ b/src/main.c @@ -265,6 +265,9 @@ static void shellCommandHandler(pid_t pid, unsigned int status, void *client_dat { _tuple *data = (_tuple *) client_data; + /* Parameter not used, but tell the compiler that it is ok */ + (void) pid; + if (status == 127) { char *buffer;