aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2019-04-30 13:42:44 -0400
committerStefan Monnier2019-04-30 13:42:44 -0400
commit35ef33dd234707d611e2a307a3500b4dbcf46cf6 (patch)
tree68b525fcfc8731038b03f42d542d43f0c674abc6
parent46b434a62cea06bdcb3c8d9ee18284ab59e9b012 (diff)
downloademacs-35ef33dd234707d611e2a307a3500b4dbcf46cf6.tar.gz
emacs-35ef33dd234707d611e2a307a3500b4dbcf46cf6.zip
* lisp/progmodes/cc-fonts.el: Silence some compiler warnings
(c-font-lock-declarators): Mark `id_end` and `not-top` as unused.
-rw-r--r--lisp/progmodes/cc-fonts.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el
index c7c9aa5564e..5f09be60a67 100644
--- 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."
1042 (c-do-declarators 1042 (c-do-declarators
1043 limit list not-top 1043 limit list not-top
1044 (if types 'c-decl-type-start 'c-decl-id-start) 1044 (if types 'c-decl-type-start 'c-decl-id-start)
1045 (lambda (id-start id-end end-pos not-top is-function init-char) 1045 (lambda (id-start _id-end end-pos _not-top is-function init-char)
1046 (if types 1046 (if types
1047 ;; Register and fontify the identifier as a type. 1047 ;; Register and fontify the identifier as a type.
1048 (let ((c-promote-possible-types t)) 1048 (let ((c-promote-possible-types t))