Subject: Fwd: Re: dotimes var comiler warning
From: Andreas Röhler <[email-masked]>
To: [email-masked]
Date: Thu, 24 Nov 2016 15:10:02 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

See text below, thanks!

-------- Forwarded Message --------
Subject: 	Re: dotimes var comiler warning
Date: 	Thu, 24 Nov 2016 14:32:44 +0100
From: 	Michael Heerdegen <[email-masked]>
To: 	Andreas Röhler <[email-masked]>
CC: 	Help Gnu Emacs mailing list <[email-masked]>

Andreas Röhler <[email-masked]> 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.