[Xfce4-commits] [thunar-plugins/thunar-shares-plugin] 04/04: Small code simplification

noreply at xfce.org noreply at xfce.org
Fri Feb 16 03:15:57 CET 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository thunar-plugins/thunar-shares-plugin.

commit 520a51d14100ff63271ec0289e316e7cba9eb647
Author: Andre Miranda <andreldm at xfce.org>
Date:   Thu Nov 16 00:16:31 2017 -0300

    Small code simplification
---
 libshares/shares.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libshares/shares.c b/libshares/shares.c
index fb82e5a..ff55ffb 100644
--- a/libshares/shares.c
+++ b/libshares/shares.c
@@ -1115,10 +1115,7 @@ shares_free_share_info_list (GSList *list)
 	GSList *l;
 
 	for (l = list; l; l = l->next) {
-		ShareInfo *info;
-
-		info = l->data;
-		shares_free_share_info (info);
+		shares_free_share_info (l->data);
 	}
 
 	g_slist_free (list);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list