Drop unused variable
authorMiloslav Trmač <mitr@redhat.com>
Tue, 7 May 2013 20:26:41 +0000 (22:26 +0200)
committerMiloslav Trmač <mitr@redhat.com>
Tue, 7 May 2013 20:44:40 +0000 (22:44 +0200)
https://bugs.freedesktop.org/show_bug.cgi?id=64336

src/programs/pkaction.c

index 2d8c90dea2bb30cf8b0e1e67fc37561fd48a4cd0..00b2c57bfd11fb430c795cc9418e9468d6906764 100644 (file)
@@ -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)