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 | e8def6c4783e2e19933ad9852d70af7f45b814d6 (patch) | |
tree | 4d7113a4145505aeb4884b05f2cdd8eea374d65a /brillo/daemons | |
parent | bed221813cdfdf224a9552c77469ebfddc5f98c9 (diff) | |
download | libbrillo-e8def6c4783e2e19933ad9852d70af7f45b814d6.tar.gz |
libbrillo: Fix compiler warnings
Bug: b:26379664
Test: Compiles
Change-Id: I67658ba9ceb8b769c97f0c345f7711bc96d27a84
Cr-Mirrored-From: https://chromium.googlesource.com/chromiumos/platform2
Cr-Mirrored-Commit: 2b1d624aaaaa21b871299bda059e9c441df79b92
Diffstat (limited to 'brillo/daemons')
-rw-r--r-- | brillo/daemons/daemon.cc | 6 | ||||
-rw-r--r-- | brillo/daemons/dbus_daemon.cc | 2 |
2 files changed, 4 insertions, 4 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(); diff --git a/brillo/daemons/dbus_daemon.cc b/brillo/daemons/dbus_daemon.cc index ebbfd94..6e90686 100644 --- a/brillo/daemons/dbus_daemon.cc +++ b/brillo/daemons/dbus_daemon.cc @@ -74,7 +74,7 @@ int DBusServiceDaemon::OnInit() { } void DBusServiceDaemon::RegisterDBusObjectsAsync( - dbus_utils::AsyncEventSequencer* sequencer) { + dbus_utils::AsyncEventSequencer* /* sequencer */) { // Do nothing here. // Overload this method to export custom D-Bus objects at daemon startup. } |