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

Re: [Xen-devel] [PATCH 13/13] libxl: -Wunused-parameter



On Thu, 2012-08-02 at 18:27 +0100, Ian Jackson wrote:
> diff --git a/tools/libxl/libxl_blktap2.c b/tools/libxl/libxl_blktap2.c
> index 2c40182..660a669 100644
> --- a/tools/libxl/libxl_blktap2.c
> +++ b/tools/libxl/libxl_blktap2.c
> @@ -19,6 +19,7 @@
> 
>  int libxl__blktap_enabled(libxl__gc *gc)
>  {
> +    USE(gc);
>      const char *msg;
>      return !tap_ctl_check(&msg);
>  } 

You'll need to consider libxl_noblktap2.c too. And perhaps some other
conditionally compiled stuff, e.g. libxl_netbsd.c

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.