summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2015-05-30 12:40:15 -0700
committerRichard Hughes <richard@hughsie.com>2015-07-29 13:37:11 +0100
commita037cffdeeed92fe7f6e68f04209b9cbe0422f8f (patch)
treea73875217826c59e0679d2064b861ac86285fbaf /tools
parentfc27cbd5cb098ccf6c70110fe1b894987328fc0d (diff)
downloadupower-a037cffdeeed92fe7f6e68f04209b9cbe0422f8f.tar.gz
up-tool: remove unused variables
Diffstat (limited to 'tools')
-rw-r--r--tools/up-tool.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/up-tool.c b/tools/up-tool.c
index a2a35b0..44c7a9a 100644
--- a/tools/up-tool.c
+++ b/tools/up-tool.c
@@ -120,7 +120,6 @@ up_client_print (UpClient *client)
{
gchar *daemon_version;
gboolean on_battery;
- UpDeviceLevel warning_level;
gboolean lid_is_closed;
gboolean lid_is_present;
char *action;
@@ -166,7 +165,6 @@ static gboolean
up_tool_do_monitor (UpClient *client)
{
GPtrArray *devices;
- GError *error = NULL;
guint i;
g_print ("Monitoring activity from the power daemon. Press Ctrl+C to cancel.\n");