mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 23:23:09 +00:00
Avoid compiler warning in dwarf-do-refresh
The Emacs 28 compiler warns about dwarf-mode.el: Warning (comp): dwarf-mode.el:180:32: Warning: Unused lexical argument `ignore' This is easily fixed by prepending "_" to the parameter's name. binutils/ChangeLog 2022-12-19 Tom Tromey <tromey@adacore.com> * dwarf-mode.el (dwarf-do-refresh): Avoid compiler warning.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2022-12-19 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
|
* dwarf-mode.el (dwarf-do-refresh): Avoid compiler warning.
|
||||||
|
|
||||||
2022-12-19 Nick Clifton <nickc@redhat.com>
|
2022-12-19 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR 29914
|
PR 29914
|
||||||
|
|||||||
@@ -177,7 +177,7 @@ A prefix argument means expand all children."
|
|||||||
;; Run objdump and insert the contents into the buffer. The arguments
|
;; Run objdump and insert the contents into the buffer. The arguments
|
||||||
;; are the way they are because this is also called as a
|
;; are the way they are because this is also called as a
|
||||||
;; revert-buffer-function.
|
;; revert-buffer-function.
|
||||||
(defun dwarf-do-refresh (&rest ignore)
|
(defun dwarf-do-refresh (&rest _ignore)
|
||||||
(dwarf--check-running)
|
(dwarf--check-running)
|
||||||
(let ((inhibit-read-only t))
|
(let ((inhibit-read-only t))
|
||||||
(dwarf--invoke (point-min) (point-max)
|
(dwarf--invoke (point-min) (point-max)
|
||||||
|
|||||||
Reference in New Issue
Block a user