[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 5b218be: * lisp/progmodes/cc-mode.el: Silence compi
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master 5b218be: * lisp/progmodes/cc-mode.el: Silence compiler warnings |
Date: |
Thu, 1 Nov 2018 09:00:49 -0400 (EDT) |
branch: master
commit 5b218be0c362316384f5c9ef57a3bef02f742e94
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* lisp/progmodes/cc-mode.el: Silence compiler warnings
(c-parse-quotes-before-change, c-parse-quotes-after-change):
Flag unused args according to convention.
---
lisp/progmodes/cc-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index d019cf2..cc1991a 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 5b218be: * lisp/progmodes/cc-mode.el: Silence compiler warnings,
Stefan Monnier <=