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

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

bug#25017: Fwd: Re: dotimes var comiler warning


From: Michael Heerdegen
Subject: bug#25017: Fwd: Re: dotimes var comiler warning
Date: Thu, 24 Nov 2016 18:01:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

> It's not a problem.

Though, with dynamical bindings, the expansion actually refers to the
specified variable, so if you compile e.g.

(defun f (x)
  (dotimes (_ 10)
    (cl-incf x)))

you get the warning "variable `_' not left unused".


Michael.





reply via email to

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