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

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

Re: dotimes var comiler warning


From: Andreas Röhler
Subject: Re: dotimes var comiler warning
Date: Thu, 24 Nov 2016 15:14:50 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.4.0



On 24.11.2016 14:32, Michael Heerdegen wrote:
Andreas Röhler <andreas.roehler@easy-emacs.de> writes:

when employing a form

(dotimes (i erg)

    ...do-something


Compiler sends a warning "Unused lexical variable ‘i’ - whilst seems
no way to leave out such a var.

Worth a bug-report?
If none exists yet, I'm for it.  FWIW, there is a FIXME comment in the
source code already.

Yes, you can probably use `_' to suppress the warning, but I always
wondered why something called like this requires a variable to be
specified (mandatorily) at all.


Michael.

Done, thanks. It's #25017



reply via email to

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