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

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

[elpa] master 773e3eb 28/57: Fix compiler warnings


From: Justin Burkett
Subject: [elpa] master 773e3eb 28/57: Fix compiler warnings
Date: Tue, 3 Nov 2020 14:32:22 -0500 (EST)

branch: master
commit 773e3ebde452cec9b37baa0d425ec4b51d9dc563
Author: Justin Burkett <justin@burkett.cc>
Commit: Justin Burkett <justin@burkett.cc>

    Fix compiler warnings
---
 vdiff.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/vdiff.el b/vdiff.el
index e636a91..57e75ca 100644
--- a/vdiff.el
+++ b/vdiff.el
@@ -641,8 +641,7 @@ an addition when compared to other vdiff buffers."
                       (not (eobp)))
             (cond ((looking-at-p "+")
                    ;; addition
-                   (let ((beg-a (car lines))
-                         (beg-b (cdr lines)))
+                   (let ((beg-b (cdr lines)))
                      (while (looking-at-p "+")
                        (setq lines (vdiff--inc-lines lines)))
                      (when vdiff-debug
@@ -653,8 +652,7 @@ an addition when compared to other vdiff buffers."
                       res)))
                   ((looking-at-p "-")
                    ;; subtraction or change
-                   (let ((beg-a (car lines))
-                         (beg-b (cdr lines)))
+                   (let ((beg-a (car lines)))
                      (while (looking-at-p "-")
                        (setq lines (vdiff--inc-lines lines)))
                      (if (or (looking-at-p " ") (eobp))



reply via email to

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