aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc/diff-mode.el
diff options
context:
space:
mode:
authorDmitry Gutov2015-11-14 03:03:58 +0200
committerDmitry Gutov2015-11-14 03:03:58 +0200
commit138ad3d93b7abe08ac399f582aa6c8aac869e17e (patch)
tree4cd5ad1e2c42bb76db5663ab394b338e301e3c9c /lisp/vc/diff-mode.el
parent7126e9a40b7ffbf336dcb0209020db112696a871 (diff)
downloademacs-138ad3d93b7abe08ac399f582aa6c8aac869e17e.tar.gz
emacs-138ad3d93b7abe08ac399f582aa6c8aac869e17e.zip
; Fix warnings
* lisp/vc/diff-mode.el (diff-kill-applied-hunks): Fix unused variable warnings.
Diffstat (limited to 'lisp/vc/diff-mode.el')
-rw-r--r--lisp/vc/diff-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index 464e3754eb9..f4d7fe7d9aa 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."
1821 "Kill all hunks that have already been applied starting at point." 1821 "Kill all hunks that have already been applied starting at point."
1822 (interactive) 1822 (interactive)
1823 (while (not (eobp)) 1823 (while (not (eobp))
1824 (pcase-let ((`(,buf ,line-offset ,pos ,src ,_dst ,switched) 1824 (pcase-let ((`(,_buf ,line-offset ,_pos ,_src ,_dst ,switched)
1825 (diff-find-source-location nil nil))) 1825 (diff-find-source-location nil nil)))
1826 (if (and line-offset switched) 1826 (if (and line-offset switched)
1827 (diff-hunk-kill) 1827 (diff-hunk-kill)