From 8401862ae66ac619f517cd4bb37a07c6847f625c Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 28 Mar 2014 22:21:35 -0500 Subject: silence compiler warning --- src/service.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/service.c b/src/service.c index a153306..b3b0641 100644 --- a/src/service.c +++ b/src/service.c @@ -250,15 +250,15 @@ on_user_changed (IndicatorSessionUsers * backend_users G_GNUC_UNUSED, static void maybe_add_users (IndicatorSessionService * self) { - if (!show_user_list (self)) - return; - - GList * uids, * l; + if (show_user_list (self)) + { + GList * uids, * l; - uids = indicator_session_users_get_uids (self->priv->backend_users); - for (l=uids; l!=NULL; l=l->next) - add_user (self, GPOINTER_TO_UINT(l->data)); - g_list_free (uids); + uids = indicator_session_users_get_uids (self->priv->backend_users); + for (l=uids; l!=NULL; l=l->next) + add_user (self, GPOINTER_TO_UINT(l->data)); + g_list_free (uids); + } } -- cgit v1.2.3