emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 35ef33d: * lisp/progmodes/cc-fonts.el: Silence some


From: Stefan Monnier
Subject: [Emacs-diffs] master 35ef33d: * lisp/progmodes/cc-fonts.el: Silence some compiler warnings
Date: Tue, 30 Apr 2019 13:42:49 -0400 (EDT)

branch: master
commit 35ef33dd234707d611e2a307a3500b4dbcf46cf6
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/progmodes/cc-fonts.el: Silence some compiler warnings
    
    (c-font-lock-declarators): Mark `id_end` and `not-top` as unused.
---
 lisp/progmodes/cc-fonts.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el
index c7c9aa5..5f09be6 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."
     (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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]