up-tool: remove unused variables

This commit is contained in:
Cosimo Cecchi 2015-05-30 12:40:15 -07:00 committed by Richard Hughes
parent fc27cbd5cb
commit a037cffdee

View file

@ -120,7 +120,6 @@ up_client_print (UpClient *client)
{ {
gchar *daemon_version; gchar *daemon_version;
gboolean on_battery; gboolean on_battery;
UpDeviceLevel warning_level;
gboolean lid_is_closed; gboolean lid_is_closed;
gboolean lid_is_present; gboolean lid_is_present;
char *action; char *action;
@ -166,7 +165,6 @@ static gboolean
up_tool_do_monitor (UpClient *client) up_tool_do_monitor (UpClient *client)
{ {
GPtrArray *devices; GPtrArray *devices;
GError *error = NULL;
guint i; guint i;
g_print ("Monitoring activity from the power daemon. Press Ctrl+C to cancel.\n"); g_print ("Monitoring activity from the power daemon. Press Ctrl+C to cancel.\n");