Re: Warning fixes for GCC 4.6

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

 



Hi Bastien,

* Bastien Nocera <hadess@xxxxxxxxxx> [2011-05-06 15:56:28 +0100]:

> On Fri, 2011-05-06 at 10:52 +0300, Luiz Augusto von Dentz wrote:
> > Hi Bastien,
> > 
> > On Thu, May 5, 2011 at 9:43 PM, Bastien Nocera <hadess@xxxxxxxxxx> wrote:
> > > So that bluez compiles with -Werror.
> > >
> > > Cheers
> > >
> 
> Updated patch attached. Only comment left is the "unused" attribute.

> From 1816c686e1e411ec574c6f168dac43e0ff4d6bd1 Mon Sep 17 00:00:00 2001
> From: Bastien Nocera <hadess@xxxxxxxxxx>
> Date: Thu, 5 May 2011 19:41:38 +0100
> Subject: [PATCH] Fix "set but not unused variable" GCC 4.6 warnings
> 
> ---
>  attrib/gatt.c         |    4 ----
>  audio/a2dp.c          |    3 ---
>  audio/manager.c       |    2 --
>  audio/pcm_bluetooth.c |    4 ++--
>  btio/btio.c           |    5 +++++
>  compat/fakehid.c      |    6 ++++--
>  cups/hcrp.c           |   12 ++++++++++++
>  gdbus/object.c        |    3 +--

The gdbus changes need a new patch. It also needs to be applied to Obexd
ConnMan and oFono.

-- 
Gustavo F. Padovan
http://profusion.mobi
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux