Re: [PATCH RFC] gdbus: Rename variables named "signal" (so that it can be compiled with -Wshadow)

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

 



On Fri, Jun 15, 2012 at 9:45 AM, Henrique Dante <hdante@xxxxxxxxxxxxxx> wrote:
> On Fri, Jun 15, 2012 at 9:43 AM, Henrique Dante <hdante@xxxxxxxxxxxxxx> wrote:
>> On Fri, Jun 15, 2012 at 9:29 AM, Anderson Lizardo
>> <anderson.lizardo@xxxxxxxxxxxxx> wrote:
>>> Hi Henrique,
>>>
>>> On Fri, Jun 15, 2012 at 8:04 AM, Henrique Dante de Almeida
>>> <hdante@xxxxxxxxxxxxxx> wrote:
>>>> ---
>>>>  gdbus/object.c |   39 +++++++++++++++++++++------------------
>>>>  gdbus/watch.c  |    4 ++--
>>>>  2 files changed, 23 insertions(+), 20 deletions(-)
>>>
>>> Would it be interesting to add this option to acinclude.m4? Or does it
>>> generate too much noise?
>>
>>  It generates few warnings. Depending on the acceptance of this patch,
>> I could fix bluez as a whole and add -Wshadow to acinclude.m4.
>
>  Actually, I had a partial build here. Ignore the previous answer, it
> generates a lot of warnings.
>

If we're not going to enable -Wshadow by default, does it make sense
to apply this patch? Who is going to check if no new shadow warnings
are being inserted in new commits?

-- 
João Paulo Rechi Vita
Openbossa Labs - INdT
--
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