; Fix warnings
* lisp/vc/diff-mode.el (diff-kill-applied-hunks): Fix unused variable warnings.
This commit is contained in:
parent
7126e9a40b
commit
138ad3d93b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue