Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: 3.1.6-pre-1: remove variable warnings



Wayne Davison wrote:

> I tweaked the code to remove two warnings about potential uses of
> variables before they were defined.  I'm not sure if the first one
> (for "cl" in complistmatches()) should be initialized to -1 or 0,
> so I chose -1.

Oops. -1 is fine. Thanks. (Why does gcc complain about uninitialised
variables only when compiling with optimisation? Grrr.)

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author