diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-24 18:48:55 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-11-24 18:48:55 -0800 |
commit | c0970d31f3089c16d6f230decfef2566731a529a (patch) | |
tree | 2138c45e1e926010b2a7c20a30580f1656669a0a /healthd/BatteryMonitor.cpp | |
parent | 7f187c5f95d6bf0514e71e0e074768bd5395d45f (diff) | |
download | system_core-c0970d31f3089c16d6f230decfef2566731a529a.zip system_core-c0970d31f3089c16d6f230decfef2566731a529a.tar.gz system_core-c0970d31f3089c16d6f230decfef2566731a529a.tar.bz2 |
Healthd: Remove unused variables
For build-system CFLAGS clean-up, remove unused variables.
Change-Id: Ifc5884518bfdb744ea9823b98db544dbe59c20d2
Diffstat (limited to 'healthd/BatteryMonitor.cpp')
-rw-r--r-- | healthd/BatteryMonitor.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/healthd/BatteryMonitor.cpp b/healthd/BatteryMonitor.cpp index 4a6b702..06497c2 100644 --- a/healthd/BatteryMonitor.cpp +++ b/healthd/BatteryMonitor.cpp @@ -389,7 +389,6 @@ void BatteryMonitor::init(struct healthd_config *hc) { if (!strcmp(name, ".") || !strcmp(name, "..")) continue; - char buf[20]; // Look for "type" file in each subdirectory path.clear(); path.appendFormat("%s/%s/type", POWER_SUPPLY_SYSFS_PATH, name); |