aboutsummaryrefslogtreecommitdiffstats
path: root/brillo/daemons/daemon.cc
diff options
context:
space:
mode:
authorChristopher Wiley <wiley@google.com>2016-01-04 08:59:09 -0800
committerChristopher Wiley <wiley@google.com>2016-01-04 09:17:51 -0800
commit2fd46ba1458275cd16b0949675bff70cc8abcdad (patch)
treeea8b5c0f5114a86f0bfa53cc00deb292bee5772d /brillo/daemons/daemon.cc
parentd6720ce258a19c08fd2cfe6ea61b5eeefcfb9582 (diff)
downloadplatform_external_libbrillo-2fd46ba1458275cd16b0949675bff70cc8abcdad.tar.gz
platform_external_libbrillo-2fd46ba1458275cd16b0949675bff70cc8abcdad.tar.bz2
platform_external_libbrillo-2fd46ba1458275cd16b0949675bff70cc8abcdad.zip
Fix compiler warnings in libbrillo
Bug: 26379664 Test: Compiles Change-Id: I67658ba9ceb8b769c97f0c345f7711bc96d27a84
Diffstat (limited to 'brillo/daemons/daemon.cc')
-rw-r--r--brillo/daemons/daemon.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/brillo/daemons/daemon.cc b/brillo/daemons/daemon.cc
index 11700f1..6eab901 100644
--- a/brillo/daemons/daemon.cc
+++ b/brillo/daemons/daemon.cc
@@ -68,7 +68,7 @@ int Daemon::OnInit() {
return EX_OK;
}
-void Daemon::OnShutdown(int* exit_code) {
+void Daemon::OnShutdown(int* /* exit_code */) {
// Do nothing.
}
@@ -77,12 +77,12 @@ bool Daemon::OnRestart() {
return false; // Returning false will shut down the daemon instead.
}
-bool Daemon::Shutdown(const signalfd_siginfo& info) {
+bool Daemon::Shutdown(const signalfd_siginfo& /* info */) {
Quit();
return true; // Unregister the signal handler.
}
-bool Daemon::Restart(const signalfd_siginfo& info) {
+bool Daemon::Restart(const signalfd_siginfo& /* info */) {
if (OnRestart())
return false; // Keep listening to the signal.
Quit();