[virt-tools-list] [virt-viewer][PATCH 2/5 v2] session-spice: Do not use _UNUSED for used attributes

Fabiano Fidêncio fidencio at redhat.com
Wed Apr 15 10:03:21 UTC 2015


channel attribute is actually used for error treatment
---
 src/virt-viewer-session-spice.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/virt-viewer-session-spice.c b/src/virt-viewer-session-spice.c
index da193ec..851d2f6 100644
--- a/src/virt-viewer-session-spice.c
+++ b/src/virt-viewer-session-spice.c
@@ -512,7 +512,7 @@ virt_viewer_session_spice_channel_open_fd_request(SpiceChannel *channel,
 }
 
 static void
-virt_viewer_session_spice_main_channel_event(SpiceChannel *channel G_GNUC_UNUSED,
+virt_viewer_session_spice_main_channel_event(SpiceChannel *channel,
                                              SpiceChannelEvent event,
                                              VirtViewerSession *session)
 {
-- 
2.3.5




More information about the virt-tools-list mailing list