[evolution] M!9 - Remove unused variable from e-srv-config-lookup.c:srv_config_lookup_domain_sync()



commit 8753420d76bc83cd730c607951100be0a7c9d150
Author: Дилян Палаузов <git-dpa aegee org>
Date:   Mon Apr 15 11:42:07 2019 +0200

    M!9 - Remove unused variable from e-srv-config-lookup.c:srv_config_lookup_domain_sync()
    
    Closes https://gitlab.gnome.org/GNOME/evolution/merge_requests/9

 src/modules/config-lookup/e-srv-config-lookup.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/modules/config-lookup/e-srv-config-lookup.c b/src/modules/config-lookup/e-srv-config-lookup.c
index ae6e832fae..d3b41ed8d3 100644
--- a/src/modules/config-lookup/e-srv-config-lookup.c
+++ b/src/modules/config-lookup/e-srv-config-lookup.c
@@ -119,11 +119,10 @@ srv_config_lookup_domain_sync (EConfigLookup *config_lookup,
                        g_clear_error (&local_error);
                } else {
                        GList *link;
-                       gint index = 0;
 
                        targets = g_srv_target_list_sort (targets);
 
-                       for (link = targets; link; index++, link = g_list_next (link)) {
+                       for (link = targets; link; link = g_list_next (link)) {
                                EConfigLookupResult *lookup_result;
                                GSrvTarget *target = link->data;
                                const gchar *hostname;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]