[gnome-settings-daemon/wip/hadess/power-empty-notifications: 2/6] power: Remove unused variable




commit 82ab37ff510130c6feb48e0cbb103a5e9ef9b37b
Author: Benjamin Berg <bberg redhat com>
Date:   Thu Aug 19 14:45:09 2021 +0200

    power: Remove unused variable

 plugins/power/gsd-power-manager.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/plugins/power/gsd-power-manager.c b/plugins/power/gsd-power-manager.c
index 8f12c4ca..91538b6c 100644
--- a/plugins/power/gsd-power-manager.c
+++ b/plugins/power/gsd-power-manager.c
@@ -496,7 +496,6 @@ static void
 engine_charge_low (GsdPowerManager *manager, UpDevice *device)
 {
         const gchar *title = NULL;
-        gboolean ret;
         gchar *message = NULL;
         gchar *tmp;
         gchar *remaining_text;
@@ -640,7 +639,6 @@ static void
 engine_charge_critical (GsdPowerManager *manager, UpDevice *device)
 {
         const gchar *title = NULL;
-        gboolean ret;
         gchar *message = NULL;
         gdouble percentage;
         guint battery_level;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]