[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Uninitialized variable in tigetnum() and friends
From: |
Thomas Dickey |
Subject: |
Re: Uninitialized variable in tigetnum() and friends |
Date: |
Mon, 27 Oct 2014 17:50:50 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Oct 27, 2014 at 01:27:17PM +0200, Nadav Har'El wrote:
> On Mon, Oct 27, 2014 at 12:29 PM, Thomas Dickey <address@hidden> wrote:
>
> > On Mon, Oct 27, 2014 at 11:04:09AM +0200, Nadav Har'El wrote:
> > > Hi, I noticed in ncurses-5.9/ncurses/tinfo/lib_ti.c, in the functions
> >
> > thanks - but this was done in development already. See
> >
> > http://invisible-island.net/ncurses/NEWS.html#t20130608
> >
>
> Hmm, strange, I can't find anything in that item about something resembling
> my fix?
+ build-fix if --disable-ext-funcs configure option is used.
Looking at the diff, the problem was that the 'j' variable wasn't declared
in this case, and after moving its declaration to the function-level, I had
an uninitialized-variable warning, which I fixed as part of the change.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature