summaryrefslogtreecommitdiff
path: root/source4/gtk/common/gtk_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/gtk/common/gtk_events.c')
-rw-r--r--source4/gtk/common/gtk_events.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/gtk/common/gtk_events.c b/source4/gtk/common/gtk_events.c
index df4ffc5cc8..3301ca2b75 100644
--- a/source4/gtk/common/gtk_events.c
+++ b/source4/gtk/common/gtk_events.c
@@ -234,8 +234,6 @@ static int gtk_event_timed_deny_destructor(void *ptr)
static gboolean gtk_event_timed_handler(gpointer data)
{
struct timed_event *te = talloc_get_type(data, struct timed_event);
- struct gtk_timed_event *gtk_te = talloc_get_type(te->additional_data,
- struct gtk_timed_event);
struct timeval t = timeval_current();
/* deny the handler to free the event */