; Fix byte-copmiler warning in c-ts-mode--fontify-declarator

* lisp/progmodes/c-ts-mode.el (c-ts-mode--fontify-declarator): Ignore
the rest args.
This commit is contained in:
Yuan Fu 2022-12-25 00:29:15 -08:00
parent 4234033a47
commit e6c49c0454
No known key found for this signature in database
GPG key ID: 56E19BC57664A442

View file

@ -402,7 +402,7 @@ MODE is either `c' or `cpp'."
((or "identifier" "field_identifier")
node)))
(defun c-ts-mode--fontify-declarator (node override start end &rest args)
(defun c-ts-mode--fontify-declarator (node override start end &rest _)
"Fontify a declarator (whatever under the \"declarator\" field).
For NODE, OVERRIDE, START, END, and ARGS, see
`treesit-font-lock-rules'."