coreutils
[Top][All Lists]
Advanced

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

Re: [coreutils] [PATCH] maint: suppress a bogus used-uninitialized warni


From: Pádraig Brady
Subject: Re: [coreutils] [PATCH] maint: suppress a bogus used-uninitialized warning in tr.c
Date: Fri, 01 Oct 2010 11:06:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

On 01/10/10 10:24, Jim Meyering wrote:
> Without this, I'd get
> 
>   cc1: warnings being treated as errors
>   tr.c: In function 'main':
>   tr.c:1400: warning: 'char_to_repeat' may be used uninitialized in this 
> function

There must have been some limitation with my compiler
  gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2)
as it seems fairly obvious a warning should have
been issued here.

Thanks for the cleanup.

Pádraig.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]