help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to avoid compiler warning `unused lexical variable' for `dolist'


From: Jean Louis
Subject: Re: How to avoid compiler warning `unused lexical variable' for `dolist' or `dotimes'?
Date: Fri, 8 Jan 2021 03:58:35 +0300
User-agent: Mutt/2.0 (3d08634) (2020-11-07)

* Emanuel Berg via Users list for the GNU Emacs text editor 
<help-gnu-emacs@gnu.org> [2021-01-07 14:39]:
> Philipp Stephani wrote:
> 
> > The discussion in that bug implies that it won't get fixed.
> > Probably we should discourage the three-argument form more
> > strongly, e.g. by removing it from the documentation and
> > changing the advertised calling convention.
> 
> What about fixing the byte-compiler so it won't warn a used
> variable is unused? :)

That is what I was thinking, or some other way of programming to
declare the variable.




reply via email to

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