From: Stefan Monnier Date: Thu, 1 Nov 2018 13:00:42 +0000 (-0400) Subject: * lisp/progmodes/cc-mode.el: Silence compiler warnings X-Git-Tag: emacs-27.0.90~4233 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5b218be0c362316384f5c9ef57a3bef02f742e94;p=emacs.git * lisp/progmodes/cc-mode.el: Silence compiler warnings (c-parse-quotes-before-change, c-parse-quotes-after-change): Flag unused args according to convention. --- diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index d019cf24937..cc1991a5643 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el @@ -1463,7 +1463,7 @@ Note that this is a strict tail, so won't match, e.g. \"0x....\".") (goto-char (match-beginning 0)) (save-excursion (search-forward "'" (match-end 0) t))))))))) -(defun c-parse-quotes-before-change (beg end) +(defun c-parse-quotes-before-change (_beg _end) ;; This function analyzes 's near the region (c-new-BEG c-new-END), amending ;; those two variables as needed to include 's into that region when they ;; might be syntactically relevant to the change in progress. @@ -1550,7 +1550,7 @@ Note that this is a strict tail, so won't match, e.g. \"0x....\".") 'c-digit-separator t ?'))))) -(defun c-parse-quotes-after-change (beg end old-len) +(defun c-parse-quotes-after-change (_beg _end _old-len) ;; This function applies syntax-table properties (value '(1)) and ;; c-digit-separator properties as needed to 's within the range (c-new-BEG ;; c-new-END). This operation is performed even within strings and