[Xfce4-commits] [xfce/libxfce4ui] 01/01: Remove unused 'has_member' variable in xfce4-about (bug #11654)

noreply at xfce.org noreply at xfce.org
Sat Mar 7 22:15:17 CET 2015


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

hjudt pushed a commit to branch master
in repository xfce/libxfce4ui.

commit 904e0c1e3cee078f34836ebfe92ffce57160087d
Author: Matt Thirtytwo <matt.59491 at gmail.com>
Date:   Sat Mar 7 21:58:52 2015 +0100

    Remove unused 'has_member' variable in xfce4-about (bug #11654)
---
 xfce4-about/main.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/xfce4-about/main.c b/xfce4-about/main.c
index 005607a..432138c 100644
--- a/xfce4-about/main.c
+++ b/xfce4-about/main.c
@@ -168,7 +168,6 @@ xfce_about_credits_translators (GtkTextBuffer *buffer,
   const TranslatorInfo *member;
   const TranslatorTeam *team;
   gchar                *str;
-  gboolean              has_member;
   GtkTextTag           *coordinator;
 
   language = gtk_text_buffer_create_tag (buffer, "language",
@@ -187,8 +186,6 @@ xfce_about_credits_translators (GtkTextBuffer *buffer,
       gtk_text_buffer_insert_with_tags (buffer, end, str, -1, language, NULL);
       g_free (str);
 
-      has_member = FALSE;
-
       for (member = team->members; member->name != NULL; member++)
         {
           italic = member->is_coordinator ? coordinator : NULL;
@@ -199,7 +196,6 @@ xfce_about_credits_translators (GtkTextBuffer *buffer,
           gtk_text_buffer_insert_with_tags (buffer, end, member->email, -1, email, italic, NULL);
           gtk_text_buffer_insert_with_tags (buffer, end, ">\n", -1, italic, NULL);
 
-          has_member = TRUE;
         }
 
       gtk_text_buffer_insert (buffer, end, "\n", -1);

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


More information about the Xfce4-commits mailing list