]> code.delx.au - gnu-emacs/commitdiff
; Fix warnings
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 14 Nov 2015 01:03:58 +0000 (03:03 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 14 Nov 2015 01:03:58 +0000 (03:03 +0200)
* lisp/vc/diff-mode.el (diff-kill-applied-hunks):
Fix unused variable warnings.

lisp/vc/diff-mode.el

index 464e3754eb94b79557def8281e1e88758772da9b..f4d7fe7d9aa0d2614c00a595164bdd807d5dfc90 100644 (file)
@@ -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)