[virt-tools-list] [virt-viewer] Remove inaccurate G_GNUC_UNUSED

Christophe Fergeau cfergeau at redhat.com
Mon Sep 22 12:20:12 UTC 2014


The 'user_data' variable is used in the callback.
---
Pushed as trivial



 src/ovirt-foreign-menu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ovirt-foreign-menu.c b/src/ovirt-foreign-menu.c
index 6fc9577..bf0e4f7 100644
--- a/src/ovirt-foreign-menu.c
+++ b/src/ovirt-foreign-menu.c
@@ -387,7 +387,7 @@ menu_item_set_active_no_signal(GtkMenuItem *menuitem,
 
 static void updated_cdrom_cb(GObject *source_object,
                              GAsyncResult *result,
-                             G_GNUC_UNUSED gpointer user_data)
+                             gpointer user_data)
 {
     GError *error = NULL;
     OvirtForeignMenu *foreign_menu;
-- 
1.9.3




More information about the virt-tools-list mailing list