diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-05-15 15:00:59 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-05-15 15:46:15 -0700 |
commit | 6f5b47f9144960412b0fb6bc417f0c41bf53438a (patch) | |
tree | fa6d0c53dc53ea0e94034a98de59ea27ba32404c /healthd/healthd.cpp | |
parent | 283540147877ca3c5f7ecb280a6b5778ab63366c (diff) | |
download | core-6f5b47f9144960412b0fb6bc417f0c41bf53438a.tar.gz core-6f5b47f9144960412b0fb6bc417f0c41bf53438a.tar.bz2 core-6f5b47f9144960412b0fb6bc417f0c41bf53438a.zip |
healthd: Turn on -Werror
Change-Id: I72caf38008ee7d842dfacd3f58add9bc8e4787e8
Diffstat (limited to 'healthd/healthd.cpp')
-rw-r--r-- | healthd/healthd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/healthd/healthd.cpp b/healthd/healthd.cpp index 8363c41b3..5fe2965cb 100644 --- a/healthd/healthd.cpp +++ b/healthd/healthd.cpp @@ -118,7 +118,7 @@ static struct healthd_mode_ops recovery_ops = { .battery_update = healthd_mode_nop_battery_update, }; -static void healthd_mode_nop_init(struct healthd_config *config) { +static void healthd_mode_nop_init(struct healthd_config* /*config*/) { } static int healthd_mode_nop_preparetowait(void) { @@ -129,7 +129,7 @@ static void healthd_mode_nop_heartbeat(void) { } static void healthd_mode_nop_battery_update( - struct android::BatteryProperties *props) { + struct android::BatteryProperties* /*props*/) { } int healthd_register_event(int fd, void (*handler)(uint32_t)) { @@ -205,7 +205,7 @@ static void periodic_chores() { } #define UEVENT_MSG_LEN 1024 -static void uevent_event(uint32_t epevents) { +static void uevent_event(uint32_t /*epevents*/) { char msg[UEVENT_MSG_LEN+2]; char *cp; int n; @@ -246,7 +246,7 @@ static void uevent_init(void) { "register for uevent events failed\n"); } -static void wakealarm_event(uint32_t epevents) { +static void wakealarm_event(uint32_t /*epevents*/) { unsigned long long wakeups; if (read(wakealarm_fd, &wakeups, sizeof(wakeups)) == -1) { |