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




commit 81e2eb36d9dbc74df402c277cae5e1d389282e0d
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]