Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zle_thingy.c: variable "modsave" used before its value set
- X-seq: zsh-users 7336
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh users list <zsh-users@xxxxxxxxxx>
- Subject: Re: zle_thingy.c: variable "modsave" used before its value set
- Date: Mon, 12 Apr 2004 08:21:20 -0700
- In-reply-to: <20040412090436.GC28460@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <1087.1079112181@xxxxxxx> <m34qrqgemf.wl%petersen@xxxxxxxxxx> <20040412090436.GC28460@xxxxxxxxx>
On Apr 12, 2:04am, Wayne Davison wrote:
>
> The variable can't actually be used uninitialized -- the compiler just
> thinks it can.
>
> If we want to get rid of the warning, I'd recommend making the struct
> static rather than initializing it to an unneeded value on every call.
Are you really sure that bin_zle_call() is not re-entrant? Seems to me
that the whole point of modsave is that it is a stack variable.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author