summaryrefslogtreecommitdiffstats
path: root/common/glib-ectomy.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/glib-ectomy.c')
-rw-r--r--common/glib-ectomy.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/glib-ectomy.c b/common/glib-ectomy.c
index f4e552cd..2f674cbc 100644
--- a/common/glib-ectomy.c
+++ b/common/glib-ectomy.c
@@ -238,7 +238,6 @@ static void timeout_handlers_check(GMainContext *context)
context->processed = NULL;
while (context->ltimeout) {
- struct slist *match;
glong secs, msecs;
gboolean ret;
@@ -255,9 +254,7 @@ static void timeout_handlers_check(GMainContext *context)
/* Check if the handler was removed/freed by the callback
* function */
- match = slist_find(context->ltimeout, t, timeout_cmp);
-
- if (!match)
+ if (!slist_find(context->ltimeout, t, timeout_cmp))
continue;
if (!ret) {