summaryrefslogtreecommitdiff
path: root/src/polkitmatelistener.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-12 11:56:33 +0200
committerinfirit <[email protected]>2015-09-12 14:53:19 +0200
commit24e4cdad34bfc9f6234bcb49c26eb093a8016aa0 (patch)
tree4fb1763476eab6458871dcd1061dcf329f699ba1 /src/polkitmatelistener.c
parentd07ecaa09c1890216b0056d506d1ce1ffed8f545 (diff)
downloadmate-polkit-24e4cdad34bfc9f6234bcb49c26eb093a8016aa0.tar.bz2
mate-polkit-24e4cdad34bfc9f6234bcb49c26eb093a8016aa0.tar.xz
Remove unused variable
Diffstat (limited to 'src/polkitmatelistener.c')
-rw-r--r--src/polkitmatelistener.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/polkitmatelistener.c b/src/polkitmatelistener.c
index 926fccd..af0ee71 100644
--- a/src/polkitmatelistener.c
+++ b/src/polkitmatelistener.c
@@ -28,12 +28,6 @@
#include "polkitmatelistener.h"
#include "polkitmateauthenticator.h"
-#ifdef __GNUC__
-#define UNUSED_VARIABLE __attribute__ ((unused))
-#else
-#define UNUSED_VARIABLE
-#endif
-
struct _PolkitMateListener
{
PolkitAgentListener parent_instance;
@@ -74,10 +68,6 @@ polkit_mate_listener_init (PolkitMateListener *listener)
static void
polkit_mate_listener_finalize (GObject *object)
{
- PolkitMateListener UNUSED_VARIABLE *listener;
-
- listener = POLKIT_MATE_LISTENER (object);
-
if (G_OBJECT_CLASS (polkit_mate_listener_parent_class)->finalize != NULL)
G_OBJECT_CLASS (polkit_mate_listener_parent_class)->finalize (object);
}