summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-mode.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2020-11-09 21:19:19 +0000
committerAlan Mackenzie <acm@muc.de>2020-11-09 21:19:19 +0000
commitae3904bb5df1136cd6e8fb9d53cc2e081cf2fd01 (patch)
treeac25a50676f1a6430d44bebbbf4a32503dd9c089 /lisp/progmodes/cc-mode.el
parent8ece715af613d238a86092abf62db57ded6c55b3 (diff)
downloademacs-ae3904bb5df1136cd6e8fb9d53cc2e081cf2fd01.tar.gz
emacs-ae3904bb5df1136cd6e8fb9d53cc2e081cf2fd01.tar.bz2
emacs-ae3904bb5df1136cd6e8fb9d53cc2e081cf2fd01.zip
CC Mode: fix many compiler warnings which would appear with lexical binding
* lisp/progmodes/cc-align.el (three places) prefix langelem with a _. * lisp/progmodes/cc-{cmds,engine}.el: Remove superfluous local variables. * lisp/progmodes/cc-defs.el (c-will-be-unescaped): Remove unused parameter end. * lisp/progmodes/cc-engine.el (c-looking-at-decl-block): Remove unused parameter containing-sexp. (c-looking-at-special-brace-list); Remove unused parameter lim. (c-add-class-syntax): Remove unused parameter paren-state.
Diffstat (limited to 'lisp/progmodes/cc-mode.el')
-rw-r--r--lisp/progmodes/cc-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index c6dd671051d..c5201d1af54 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -1482,7 +1482,7 @@ Note that the style variables are always made local to the buffer."
((and
(c-is-escaped end)
(or (eq beg end) ; .... by inserting stuff between \ and \n?
- (c-will-be-unescaped beg end))) ; ... by removing an odd number of \s?
+ (c-will-be-unescaped beg))) ; ... by removing an odd number of \s?
(goto-char (1+ end))) ; To after the NL which is being unescaped.
(t
(goto-char end)))