[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 90e4009: Fix infloop in memory-report
From: |
Andreas Schwab |
Subject: |
Re: master 90e4009: Fix infloop in memory-report |
Date: |
Sat, 26 Dec 2020 10:51:39 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux) |
On Dez 25 2020, Stefan Monnier wrote:
>> + (if (gethash (cdr value) counted)
>> + (setq value nil)
>> + (setq value (cdr value)))
>
> AKA
>
> (setq value (if (gethash (cdr value) counted)
> nil
> (cdr value)))
Or even (setq value (and (not (gethash (cdr value) counted)) (cdr value))).
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."