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

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

bug#39919: 26.3; Incorrect byte-compiler warning


From: Mike Woolley
Subject: bug#39919: 26.3; Incorrect byte-compiler warning
Date: Thu, 5 Mar 2020 14:01:28 +0000

Yes this was pointed out to me :-)

Looks like we get the unused variable warning when there is a result form which does not contain the loop variable.

[I guess the normal use case would indeed be to use the loop var in the result form and so writing it like this was probably a reasonable compromise…]

I will adjust my code to work around it.

Thanks,
Mike

On 5 Mar 2020, at 13:50, Michael Heerdegen <michael_heerdegen@web.de> wrote:

Mike Woolley <mike@bulsara.com> writes:

This would seem like a bug to me.

Yes, the warning is wrong.  There is already a corresponding "FIXME" in
the source:

|  ;; FIXME: This let often leads to "unused var" warnings.


Michael.


reply via email to

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