diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-09-07 12:28:53 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-09-07 12:35:01 +0200 |
commit | eb832edbf2e212f07dc83896aea95ddaf52a7886 (patch) | |
tree | 85959aed550a4622172cb3f29c720710d041b576 | |
parent | 2250e71173c8e5b48834ebdb99f85e64e6d584b9 (diff) | |
download | upower-eb832edbf2e212f07dc83896aea95ddaf52a7886.tar.gz |
linux: Remove unused variable
src/linux/up-device-supply.c: In function ‘up_device_supply_refresh_line_power’:
src/linux/up-device-supply.c:89:22: warning: unused variable ‘native_path’ [-Wunused-variable]
89 | const gchar *native_path;
| ^~~~~~~~~~~
-rw-r--r-- | src/linux/up-device-supply.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.c index cd2339e..aabb1c5 100644 --- a/src/linux/up-device-supply.c +++ b/src/linux/up-device-supply.c @@ -86,7 +86,6 @@ up_device_supply_refresh_line_power (UpDeviceSupply *supply) { UpDevice *device = UP_DEVICE (supply); GUdevDevice *native; - const gchar *native_path; /* is providing power to computer? */ g_object_set (device, |