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

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

[elpa] externals/arbitools 97afb42 16/29: * arbitools/arbitools.el: Remo


From: Stefan Monnier
Subject: [elpa] externals/arbitools 97afb42 16/29: * arbitools/arbitools.el: Remove unused vars
Date: Sun, 29 Nov 2020 19:00:36 -0500 (EST)

branch: externals/arbitools
commit 97afb42709255e746da83c115bd43d72a7891287
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * arbitools/arbitools.el: Remove unused vars
    
    * arbitools.el (arbitools-calculate-standings, arbitools-delete-player)
    (arbitools-calculate-standings): Remove unused vars.
---
 arbitools.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/arbitools.el b/arbitools.el
index 76fe0bc..8c43e78 100644
--- a/arbitools.el
+++ b/arbitools.el
@@ -273,7 +273,6 @@
   (interactive)
   (save-excursion
     (let ( (numberofrounds (arbitools-number-of-rounds))
-           (pointsstring   "")
            (points         0.0)
            (pointstosum    0.0)
            (roundcount     1))
@@ -284,7 +283,7 @@
         (while (<= roundcount numberofrounds)
           (beginning-of-line)
          (forward-char (+ 98 (* (- roundcount 1) 10))) ;; go to where the 
result is for each round
-          (setq pointsstring (thing-at-point 'symbol))
+          ;; FIXME: Use pcase?
           (cond ((string= (thing-at-point 'symbol) "1") (setq pointstosum 1.0))
                 ((string= (thing-at-point 'symbol) "+") (setq pointstosum 1.0))
                 ((string= (thing-at-point 'symbol) "=") (setq pointstosum 0.5))
@@ -310,7 +309,7 @@
     (let ((datachunk ""))
       (goto-char (point-min))
       (while (re-search-forward "^001" nil t)
-        (let* ((linestring (thing-at-point 'line)))
+        (let* () ;; (linestring (thing-at-point 'line))
           (beginning-of-line)
           (forward-char 89) ;; get the POS field
           (setq datachunk (thing-at-point 'word))
@@ -411,7 +410,6 @@
                  (save-excursion 
                    (while (re-search-forward "^013" nil t)
                     (let* ((linestringteam (thing-at-point 'line))
-                          (actualintegrant (string-to-number (substring 
linestringteam 40 44)))
                           (integrantcount 0)
                           (members 0))
 



reply via email to

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