emacs-diffs
[Top][All Lists]
Advanced

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

master 0567f3b817b 1/3: * Fix compilation warning in 'cl--supertypes-for


From: Andrea Corallo
Subject: master 0567f3b817b 1/3: * Fix compilation warning in 'cl--supertypes-for-typeof-types'
Date: Fri, 1 Mar 2024 03:32:23 -0500 (EST)

branch: master
commit 0567f3b817ba25c8e216347cc7118fa7786039d9
Author: Andrea Corallo <acorallo@gnu.org>
Commit: Andrea Corallo <acorallo@gnu.org>

    * Fix compilation warning in 'cl--supertypes-for-typeof-types'
    
    * lisp/emacs-lisp/cl-preloaded.el (cl--supertypes-for-typeof-types): Fix
    warning.
---
 lisp/emacs-lisp/cl-preloaded.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/cl-preloaded.el b/lisp/emacs-lisp/cl-preloaded.el
index fb06b127676..30753bcd5c5 100644
--- a/lisp/emacs-lisp/cl-preloaded.el
+++ b/lisp/emacs-lisp/cl-preloaded.el
@@ -99,8 +99,7 @@ the symbols returned by `type-of', and SUPERTYPES is the list 
of its
 supertypes from the most specific to least specific.")
 
 (defun cl--supertypes-for-typeof-types (type)
-  (cl-loop with res = ()
-           with agenda = (list type)
+  (cl-loop with agenda = (list type)
            while agenda
            for element = (car agenda)
            unless (or (eq element t) ;; no t in `cl--typeof-types'.



reply via email to

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