GNU bug report logs - #61730
30.0.50; Compiler warnings for delq and delete

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Thu, 23 Feb 2023 10:30:01 UTC

Severity: wishlist

Found in version 30.0.50

Full log


Message #32 received at 61730 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: mattias.engdegard <at> gmail.com, 61730 <at> debbugs.gnu.org,
 monnier <at> iro.umontreal.ca
Subject: Re: bug#61730: 30.0.50; Compiler warnings for delq and delete
Date: Fri, 24 Feb 2023 17:17:00 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> Even though my-list is never used again in the program?  How is this
> better than "(setq _ ..."?

This case is indeed a matter of personal style.

If you modify some list and throw away the return value, the program is
likely to refer to the place again, though, not necessarily in the same
function.

Michael.




This bug report was last modified 1 year and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.