[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -Wredundant-decls -Wjump-misses-init
From: |
Pádraig Brady |
Subject: |
Re: -Wredundant-decls -Wjump-misses-init |
Date: |
Sun, 04 Dec 2011 12:27:20 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
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.
Pádraig.