X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/ee5ec756218c852385c5ba5ef0f75b47ba59ec39..b759662983a159da8a3c361f4f222287b2e43331:/components/battery.c diff --git a/components/battery.c b/components/battery.c index a63b9d0..49f43e6 100644 --- a/components/battery.c +++ b/components/battery.c @@ -52,7 +52,7 @@ #include const char * - battery_perc(const char *null) + battery_perc(const char *unused) { struct apm_power_info apm_info; int fd; @@ -75,7 +75,7 @@ } const char * - battery_state(const char *bat) + battery_state(const char *unused) { int fd; size_t i;