Commit 138ad3d9 authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

; Fix warnings

* lisp/vc/diff-mode.el (diff-kill-applied-hunks):
Fix unused variable warnings.
parent 7126e9a4
...@@ -1821,7 +1821,7 @@ With a prefix argument, try to REVERSE the hunk." ...@@ -1821,7 +1821,7 @@ With a prefix argument, try to REVERSE the hunk."
"Kill all hunks that have already been applied starting at point." "Kill all hunks that have already been applied starting at point."
(interactive) (interactive)
(while (not (eobp)) (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))) (diff-find-source-location nil nil)))
(if (and line-offset switched) (if (and line-offset switched)
(diff-hunk-kill) (diff-hunk-kill)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment