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

Re: [virt-tools-list] [PATCH virt-viewer 6/6] Silence unused arguments warnings



ACK

On Thu, May 16, 2013 at 09:33:22PM +0200, Marc-André Lureau wrote:
> From: Marc-André Lureau <marcandre lureau redhat com>
> 
> In file included from virt-viewer-session-spice.c:41:
> gbinding.c: In function 'on_source_notify':
> gbinding.c:381: warning: unused parameter 'gobject'
> gbinding.c: In function 'on_target_notify':
> gbinding.c:422: warning: unused parameter 'gobject'
> gbinding.c: In function 'g_binding_init':
> gbinding.c:709: warning: unused parameter 'binding'
> ---
>  src/gbinding.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/gbinding.c b/src/gbinding.c
> index 5b5757c..4b2f5b1 100644
> --- a/src/gbinding.c
> +++ b/src/gbinding.c
> @@ -378,7 +378,7 @@ default_transform_from (GBinding     *binding,
>  }
>  
>  static void
> -on_source_notify (GObject    *gobject,
> +on_source_notify (GObject    *gobject G_GNUC_UNUSED,
>                    GParamSpec *pspec,
>                    GBinding   *binding)
>  {
> @@ -419,7 +419,7 @@ on_source_notify (GObject    *gobject,
>  }
>  
>  static void
> -on_target_notify (GObject    *gobject,
> +on_target_notify (GObject    *gobject G_GNUC_UNUSED,
>                    GParamSpec *pspec,
>                    GBinding   *binding)
>  {
> @@ -706,7 +706,7 @@ g_binding_class_init (GBindingClass *klass)
>  }
>  
>  static void
> -g_binding_init (GBinding *binding)
> +g_binding_init (GBinding *binding G_GNUC_UNUSED)
>  {
>  }
>  
> -- 
> 1.8.3.rc1.49.g8d97506
> 
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list redhat com
> https://www.redhat.com/mailman/listinfo/virt-tools-list

Attachment: pgphdaioQdJAS.pgp
Description: PGP signature


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