summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2013-05-07 22:26:41 +0200
committerMiloslav Trmač <mitr@redhat.com>2013-05-07 22:44:40 +0200
commitc98ceb5347653981eee2e7d670312f0a97da52d3 (patch)
tree072dba25aa2eee0a8ac3b492d987a882eb957bb0 /src
parent18f9d2608b145a3cc39e88b3e8aa74c742d47190 (diff)
downloadpolkit-c98ceb5347653981eee2e7d670312f0a97da52d3.tar.gz
Drop unused variable
https://bugs.freedesktop.org/show_bug.cgi?id=64336
Diffstat (limited to 'src')
-rw-r--r--src/programs/pkaction.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/programs/pkaction.c b/src/programs/pkaction.c
index 2d8c90d..00b2c57 100644
--- a/src/programs/pkaction.c
+++ b/src/programs/pkaction.c
@@ -113,13 +113,11 @@ main (int argc, char *argv[])
PolkitAuthority *authority;
GList *l;
GList *actions;
- PolkitActionDescription *description;
GError *error;
action_id = NULL;
authority = NULL;
actions = NULL;
- description = NULL;
ret = 1;
g_type_init ();
@@ -226,9 +224,6 @@ main (int argc, char *argv[])
g_list_foreach (actions, (GFunc) g_object_unref, NULL);
g_list_free (actions);
- if (description != NULL)
- g_object_unref (description);
-
g_free (action_id);
if (authority != NULL)