emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 138ad3d: ; Fix warnings


From: Dmitry Gutov
Subject: [Emacs-diffs] master 138ad3d: ; Fix warnings
Date: Sat, 14 Nov 2015 01:04:07 +0000

branch: master
commit 138ad3d93b7abe08ac399f582aa6c8aac869e17e
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    ; Fix warnings
    
    * lisp/vc/diff-mode.el (diff-kill-applied-hunks):
    Fix unused variable warnings.
---
 lisp/vc/diff-mode.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index 464e375..f4d7fe7 100644
--- a/lisp/vc/diff-mode.el
+++ b/lisp/vc/diff-mode.el
@@ -1821,7 +1821,7 @@ With a prefix argument, try to REVERSE the hunk."
   "Kill all hunks that have already been applied starting at point."
   (interactive)
   (while (not (eobp))
-    (pcase-let ((`(,buf ,line-offset ,pos ,src ,_dst ,switched)
+    (pcase-let ((`(,_buf ,line-offset ,_pos ,_src ,_dst ,switched)
                  (diff-find-source-location nil nil)))
       (if (and line-offset switched)
           (diff-hunk-kill)



reply via email to

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