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

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

bug#46819: 28.0.50; Undesireable warning: Empty let body from the `bench


From: Lars Ingebrigtsen
Subject: bug#46819: 28.0.50; Undesireable warning: Empty let body from the `benchmark-run' implementation
Date: Mon, 01 Mar 2021 01:19:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> It might be hard to fix in the general case.  Think about this example:
>>
>> (let (...)
>>   (some-macro blah))
>>
>> What if that macro expands to nothing, based on some criteria not
>> entirely under programmer control?  Is the code "wrong"?

(And besides -- the macro can't really expand to nothing here, can it?
(nil is something.)  Or am I misunderstanding what it's warning about?)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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