diff options
| author | Stefan Monnier | 2018-11-01 09:00:42 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2018-11-01 09:00:42 -0400 |
| commit | 5b218be0c362316384f5c9ef57a3bef02f742e94 (patch) | |
| tree | 34d8c6e0b280124a780c8a07af68681ff10d5f86 /lisp | |
| parent | f25e5e72151c40d068226d1c6f00ad572bcff2ad (diff) | |
| download | emacs-5b218be0c362316384f5c9ef57a3bef02f742e94.tar.gz emacs-5b218be0c362316384f5c9ef57a3bef02f742e94.zip | |
* lisp/progmodes/cc-mode.el: Silence compiler warnings
(c-parse-quotes-before-change, c-parse-quotes-after-change):
Flag unused args according to convention.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/progmodes/cc-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
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....\".") | |||
| 1463 | (goto-char (match-beginning 0)) | 1463 | (goto-char (match-beginning 0)) |
| 1464 | (save-excursion (search-forward "'" (match-end 0) t))))))))) | 1464 | (save-excursion (search-forward "'" (match-end 0) t))))))))) |
| 1465 | 1465 | ||
| 1466 | (defun c-parse-quotes-before-change (beg end) | 1466 | (defun c-parse-quotes-before-change (_beg _end) |
| 1467 | ;; This function analyzes 's near the region (c-new-BEG c-new-END), amending | 1467 | ;; This function analyzes 's near the region (c-new-BEG c-new-END), amending |
| 1468 | ;; those two variables as needed to include 's into that region when they | 1468 | ;; those two variables as needed to include 's into that region when they |
| 1469 | ;; might be syntactically relevant to the change in progress. | 1469 | ;; 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....\".") | |||
| 1550 | 'c-digit-separator t | 1550 | 'c-digit-separator t |
| 1551 | ?'))))) | 1551 | ?'))))) |
| 1552 | 1552 | ||
| 1553 | (defun c-parse-quotes-after-change (beg end old-len) | 1553 | (defun c-parse-quotes-after-change (_beg _end _old-len) |
| 1554 | ;; This function applies syntax-table properties (value '(1)) and | 1554 | ;; This function applies syntax-table properties (value '(1)) and |
| 1555 | ;; c-digit-separator properties as needed to 's within the range (c-new-BEG | 1555 | ;; c-digit-separator properties as needed to 's within the range (c-new-BEG |
| 1556 | ;; c-new-END). This operation is performed even within strings and | 1556 | ;; c-new-END). This operation is performed even within strings and |