Removed unused variable is_main_group. (#512381, Wouter Bolsterlee)

2008-01-27  Matthias Clasen  <mclasen@redhat.com>

        * glib/goption.c: (group_list_has_visible_entries):
        Removed unused variable is_main_group.  (#512381,
        Wouter Bolsterlee)



svn path=/trunk/; revision=6390
This commit is contained in:
Matthias Clasen 2008-01-27 23:57:32 +00:00 committed by Matthias Clasen
parent 7bfc60de2e
commit 76e53c6ed3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-01-27 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c: (group_list_has_visible_entries):
Removed unused variable is_main_group. (#512381,
Wouter Bolsterlee)
2008-01-27 Matthias Clasen <mclasen@redhat.com>
* glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION.

View File

@ -553,7 +553,6 @@ group_list_has_visible_entires (GOptionContext *context,
{
while (group_list)
{
gboolean is_main_group = context->main_group == group_list->data;
if (group_has_visible_entries (context, group_list->data, main_entries))
return TRUE;