diff options
author | Jonas Bernoulli <jonas@bernoul.li> | 2023-12-15 22:29:47 +0100 |
---|---|---|
committer | Jonas Bernoulli <jonas@bernoul.li> | 2023-12-15 22:34:19 +0100 |
commit | 9cad7e90a4cdb22b35b01f682fcb8bba641b0a93 (patch) | |
tree | 64c889729ee24b5f5fdfe9912e9571275786f74c | |
parent | becd65549a6cb5f1ff22244fc61c6e2d7409028a (diff) | |
download | geiser-9cad7e90a4cdb22b35b01f682fcb8bba641b0a93.tar.gz geiser-9cad7e90a4cdb22b35b01f682fcb8bba641b0a93.tar.bz2 |
Silence byte-compiler
`dotimes' has a defect (and a fixme which is over a decade old) that
causes a bogus (though technically correct) warning about VAR being
unused, if RESULT is not omitted but does not use VAR.
-rw-r--r-- | elisp/geiser-base.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-base.el b/elisp/geiser-base.el index 134a3f4..6d6277f 100644 --- a/elisp/geiser-base.el +++ b/elisp/geiser-base.el @@ -20,7 +20,7 @@ '(when (not (fboundp 'ring-member)) (defun ring-member (ring item) (catch 'found - (dotimes (ind (ring-length ring) nil) + (dotimes (ind (ring-length ring)) (when (equal item (ring-ref ring ind)) (throw 'found ind))))))) |