[glib/wip/coverity-fixes: 4/6] gmenu: Remove stray semicolon in g_menu_clear_item()



commit 1ee55a30f657a1a8f16d6a8a3dacd31977c66cb8
Author: Colin Walters <walters verbum org>
Date:   Thu Jun 21 12:08:05 2012 -0400

    gmenu: Remove stray semicolon in g_menu_clear_item()

 gio/gmenu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gmenu.c b/gio/gmenu.c
index bd57810..c88fd7c 100644
--- a/gio/gmenu.c
+++ b/gio/gmenu.c
@@ -451,7 +451,7 @@ g_menu_clear_item (struct item *item)
 {
   if (item->attributes != NULL)
     g_hash_table_unref (item->attributes);
-  if (item->links != NULL);
+  if (item->links != NULL)
     g_hash_table_unref (item->links);
 }
 



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