projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46b434a
)
* lisp/progmodes/cc-fonts.el: Silence some compiler warnings
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 30 Apr 2019 17:42:44 +0000
(13:42 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 30 Apr 2019 17:42:44 +0000
(13:42 -0400)
(c-font-lock-declarators): Mark `id_end` and `not-top` as unused.
lisp/progmodes/cc-fonts.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-fonts.el
b/lisp/progmodes/cc-fonts.el
index c7c9aa5564ebc21d4c27933963813933249156fa..5f09be60a67283be57e7f80d899a50aa81caa810 100644
(file)
--- a/
lisp/progmodes/cc-fonts.el
+++ b/
lisp/progmodes/cc-fonts.el
@@
-1042,7
+1042,7
@@
casts and declarations are fontified. Used on level 2 and higher."
(c-do-declarators
limit list not-top
(if types 'c-decl-type-start 'c-decl-id-start)
- (lambda (id-start
id-end end-pos
not-top is-function init-char)
+ (lambda (id-start
_id-end end-pos _
not-top is-function init-char)
(if types
;; Register and fontify the identifier as a type.
(let ((c-promote-possible-types t))