summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");