diff options
author | Christopher Wiley <wiley@google.com> | 2016-01-04 08:59:09 -0800 |
---|---|---|
committer | Christopher Wiley <wiley@google.com> | 2016-01-04 09:17:51 -0800 |
commit | 2fd46ba1458275cd16b0949675bff70cc8abcdad (patch) | |
tree | ea8b5c0f5114a86f0bfa53cc00deb292bee5772d /brillo/daemons/daemon.cc | |
parent | d6720ce258a19c08fd2cfe6ea61b5eeefcfb9582 (diff) | |
download | platform_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.cc | 6 |
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(); |