diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2006-08-20 22:37:43 +0000 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2006-08-20 22:37:43 +0000 | 
| commit | 9b19d37cb9c41546648fd5eee81fff46e78f871c (patch) | |
| tree | eff9026a14de28607b98a6fcf28cc039a079f38f | |
| parent | d93952ad4b8e6ae7e212037ed1b37940560e814c (diff) | |
A little code cleanup
| -rw-r--r-- | common/glib-ectomy.c | 5 | 
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) { | 
