summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-09-07 12:28:53 +0200
committerBastien Nocera <hadess@hadess.net>2021-09-07 17:20:48 +0200
commitd0d6b633a010dabdeca2b6e60c28ebdd6c7bfeed (patch)
tree3a0b92298c11249592792c94aea9ffad2239b4a4
parent0fd6b11085da1f20d5442924f109b1af7c6155b1 (diff)
downloadupower-d0d6b633a010dabdeca2b6e60c28ebdd6c7bfeed.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.c1
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,