summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-02-20 22:29:37 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2012-02-20 22:29:37 +0000
commit9334ff0b532b91949166a1e15a520e9b3391af91 (patch)
tree7daebabad6aa2d6e2fa471765e0f29511b45d6cd /src/events
parent1e176d7562594716c44b4fb10955ee5bc3cf2a71 (diff)
downloadlibdom-9334ff0b532b91949166a1e15a520e9b3391af91.tar.gz
libdom-9334ff0b532b91949166a1e15a520e9b3391af91.tar.bz2
Remove unused variable.
svn path=/trunk/libdom/; revision=13454
Diffstat (limited to 'src/events')
-rw-r--r--src/events/event_target.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/events/event_target.c b/src/events/event_target.c
index 7f941e2..e64ebac 100644
--- a/src/events/event_target.c
+++ b/src/events/event_target.c
@@ -21,13 +21,10 @@
static void event_target_destroy_listeners(struct listener_entry *list)
{
- struct listener_entry *next = NULL;
-
if (list == NULL)
return;
while (list != (struct listener_entry *) list->list.next) {
- next = (struct listener_entry *) list->list.next;
list_del(list->list.next);
dom_event_listener_unref(list->listener);
dom_string_unref(list->type);