aboutsummaryrefslogtreecommitdiff
path: root/src/dillo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dillo.cc')
-rw-r--r--src/dillo.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index 889b5256..e9fbfdd7 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -125,6 +125,8 @@ static void raw_sigchld2(int signum)
pid_t pid;
int status;
+ (void) signum; /* Unused */
+
while (1) {
pid = waitpid(-1, &status, WNOHANG);
if (pid > 0) {
@@ -141,7 +143,6 @@ static void raw_sigchld2(int signum)
break;
}
}
- ++signum; /* compiler happiness */
}
/**