summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);
}