emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/gnugo f810771 162/357: [gnugo int] Decruft: Delete unus


From: Stefan Monnier
Subject: [elpa] externals/gnugo f810771 162/357: [gnugo int] Decruft: Delete unused local vars.
Date: Sun, 29 Nov 2020 14:51:12 -0500 (EST)

branch: externals/gnugo
commit f810771f230e8a3f370144db5a9c9577359683ed
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>

    [gnugo int] Decruft: Delete unused local vars.
    
    U (V, ...) ≡ "Delete local var V, ...".
    * packages/gnugo/gnugo.el
    (gnugo-move-history): U (col).
    (gnugo-frolic-in-the-leaves): U (node, count).
---
 gnugo.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnugo.el b/gnugo.el
index ab753f2..51fbbbe 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -689,7 +689,6 @@ For all other values of RSEL, do nothing and return nil."
   (let* ((monkey (gnugo-get :monkey))
          (mem (aref monkey 0))
          (as-pos (gnugo--as-pos-func (gnugo-get :SZ)))
-         col
          acc node mprop move)
     (cl-flet*
         ((as-pos-maybe (x) (if (string= "resign" x)
@@ -806,7 +805,7 @@ are dimmed.  Type \\[describe-mode] in that buffer for 
details."
       (loop
        for bx below width
        do (loop
-           with (node fork)
+           with fork
            for node in (aref ends bx)
            do (if (setq fork (on node))
                   (cl-flet
@@ -894,7 +893,6 @@ are dimmed.  Type \\[describe-mode] in that buffer for 
details."
         (when (progn (newline)
                      (setq forks (nreverse forks)))
           (let* ((margin (make-string 11 ?\s))
-                 (count (length forks))
                  (heads (mapcar #'car forks))
                  (tails (mapcar #'cdr forks)))
             (cl-flet*



reply via email to

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