[gnome-settings-daemon/wip/hadess/power-empty-notifications: 2/6] power: Remove unused variable
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/wip/hadess/power-empty-notifications: 2/6] power: Remove unused variable
- Date: Thu, 19 Aug 2021 13:12:28 +0000 (UTC)
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]