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

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

[elpa] externals/arbitools 00c2fb4 18/29: packages/arbitools.el: Removed


From: Stefan Monnier
Subject: [elpa] externals/arbitools 00c2fb4 18/29: packages/arbitools.el: Removed unused variables
Date: Sun, 29 Nov 2020 19:00:36 -0500 (EST)

branch: externals/arbitools
commit 00c2fb48f5ae2564bc11bbdee2d7f1f36bcb8756
Author: David Gonzalez Gandara <dggandara@member.fsf.org>
Commit: David Gonzalez Gandara <dggandara@member.fsf.org>

    packages/arbitools.el: Removed unused variables
---
 arbitools.el | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/arbitools.el b/arbitools.el
index 76fe0bc..f749bfb 100644
--- a/arbitools.el
+++ b/arbitools.el
@@ -3,7 +3,7 @@
 ;; Copyright 2016 Free Software Foundation, Inc.
 
 ;; Author: David Gonzalez Gandara <dggandara@member.fsf.org>
-;; Version: 0.70
+;; Version: 0.71
 ;; Package-Requires: ((cl-lib "0.5"))
 
 ;; This program is free software: you can redistribute it and/or modify
@@ -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,6 @@
         (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))
           (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 +308,7 @@
     (let ((datachunk ""))
       (goto-char (point-min))
       (while (re-search-forward "^001" nil t)
-        (let* ((linestring (thing-at-point 'line)))
+        (let* ()
           (beginning-of-line)
           (forward-char 89) ;; get the POS field
           (setq datachunk (thing-at-point 'word))
@@ -411,7 +409,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))
 
@@ -457,7 +454,7 @@
           (insert (concat (number-to-string numberofratedplayers) "\n")))))))
 
 (defun arbitools-delete-round (round)
-   "Delete a round." ;; FIXME: it breaks when round is the last
+   "Delete a round."
    (interactive "sround: ")
    (save-excursion
     (goto-char (point-min))



reply via email to

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