summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gpm-engine.c2
-rw-r--r--src/gpm-manager.c1
-rw-r--r--src/gpm-prefs.c1
-rw-r--r--src/gpm-statistics.c1
4 files changed, 0 insertions, 5 deletions
diff --git a/src/gpm-engine.c b/src/gpm-engine.c
index 18f69b8..c626c9f 100644
--- a/src/gpm-engine.c
+++ b/src/gpm-engine.c
@@ -796,8 +796,6 @@ phone_device_refresh_cb (GpmPhone *phone, guint idx, GpmEngine *engine)
static void
gpm_engine_init (GpmEngine *engine)
{
- GPtrArray *array = NULL;
- guint i;
guint idle_id;
engine->priv = gpm_engine_get_instance_private (engine);
diff --git a/src/gpm-manager.c b/src/gpm-manager.c
index d4ed7b5..68330aa 100644
--- a/src/gpm-manager.c
+++ b/src/gpm-manager.c
@@ -949,7 +949,6 @@ static void
gpm_manager_client_changed_cb (UpClient *client, GParamSpec *pspec, GpmManager *manager)
{
gboolean event_when_closed;
- gint timeout;
gboolean on_battery;
gboolean lid_is_closed;
diff --git a/src/gpm-prefs.c b/src/gpm-prefs.c
index 4785cc0..096660f 100644
--- a/src/gpm-prefs.c
+++ b/src/gpm-prefs.c
@@ -67,7 +67,6 @@ main (int argc, char **argv)
gboolean verbose = FALSE;
GOptionContext *context;
GpmPrefs *prefs = NULL;
- gboolean ret;
GtkApplication *app;
GtkWidget *window;
gint status;
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
index 9b9b584..4c3da96 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -876,7 +876,6 @@ gpm_stats_add_device (UpDevice *device, GPtrArray *devices)
{
const gchar *id;
GtkTreeIter iter;
- const gchar *text;
const gchar *icon;
UpDeviceKind kind;
gchar *label, *vendor, *model;