summaryrefslogtreecommitdiff
path: root/binutils/dwarf-mode.el
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-12-19 09:46:54 -0700
committerTom Tromey <tromey@adacore.com>2022-12-19 09:46:54 -0700
commit0d120726bda4768b176b83c1f81ef63a5d49d881 (patch)
tree72e70d381c3df3115b380aa94a22146f18537532 /binutils/dwarf-mode.el
parent4ec2227afb0a091fa94e1571bc5e117a2a6c8b01 (diff)
downloadbinutils-gdb-0d120726bda4768b176b83c1f81ef63a5d49d881.tar.gz
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.
Diffstat (limited to 'binutils/dwarf-mode.el')
-rw-r--r--binutils/dwarf-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/dwarf-mode.el b/binutils/dwarf-mode.el
index 9df875ca4fe..3c59ee136bc 100644
--- a/binutils/dwarf-mode.el
+++ b/binutils/dwarf-mode.el
@@ -177,7 +177,7 @@ A prefix argument means expand all children."
;; Run objdump and insert the contents into the buffer. The arguments
;; are the way they are because this is also called as a
;; revert-buffer-function.
-(defun dwarf-do-refresh (&rest ignore)
+(defun dwarf-do-refresh (&rest _ignore)
(dwarf--check-running)
(let ((inhibit-read-only t))
(dwarf--invoke (point-min) (point-max)