Re: [PATCH] mount.cifs: unused variables

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

 



On Sat, 19 May 2012 10:52:14 +0200
Luk Claes <luk@xxxxxxxxxx> wrote:

> ---
>  mount.cifs.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/mount.cifs.c b/mount.cifs.c
> index 2d1d842..a1b0454 100644
> --- a/mount.cifs.c
> +++ b/mount.cifs.c
> @@ -525,13 +525,13 @@ free_caps:
>  }
>  #else /* HAVE_LIBCAP */
>  static int
> -drop_capabilities(int parent)
> +drop_capabilities(int parent __attribute((unused)))
>  {
>  	return 0;
>  }
>  
>  static int
> -toggle_dac_capability(int writable, int enable)
> +toggle_dac_capability(int writable __attribute((unused)), int enable __attribute((unused)))
>  {
>  	return 0;
>  }

Thanks, merged...
-- 
Jeff Layton <jlayton@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux