aboutsummaryrefslogtreecommitdiff
path: root/brillo/process_reaper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'brillo/process_reaper.cc')
-rw-r--r--brillo/process_reaper.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/brillo/process_reaper.cc b/brillo/process_reaper.cc
index c2f81b2..c4cb1cf 100644
--- a/brillo/process_reaper.cc
+++ b/brillo/process_reaper.cc
@@ -49,7 +49,8 @@ bool ProcessReaper::ForgetChild(pid_t pid) {
return watched_processes_.erase(pid) != 0;
}
-bool ProcessReaper::HandleSIGCHLD(const struct signalfd_siginfo& sigfd_info) {
+bool ProcessReaper::HandleSIGCHLD(
+ const struct signalfd_siginfo& /* sigfd_info */) {
// One SIGCHLD may correspond to multiple terminated children, so ignore
// sigfd_info and reap any available children.
while (true) {