[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -Wredundant-decls -Wjump-misses-init
From: |
Jim Meyering |
Subject: |
Re: -Wredundant-decls -Wjump-misses-init |
Date: |
Sun, 04 Dec 2011 13:58:07 +0100 |
Pádraig Brady wrote:
> On 12/04/2011 09:37 AM, Jim Meyering wrote:
>> I've been using gcc-4.7.0 and experimenting with an even
>> longer list of warnings. Here's some fallout:
>
>> Subject: [PATCH 2/2] od,test: address warnings from gcc's -Wjump-misses-init
>>
>> * src/test.c (unary_operator): gcc reported that initializations
>> in two case statements were skipped. Enclose in braces.
>> * src/od.c (decode_one_format): Likewise.
>
> nice one.
Thanks for the quick feedback. Pushed.