From: Stefan Monnier Date: Wed, 5 Jul 2017 01:55:44 +0000 (-0400) Subject: * lisp/progmodes/cc-guess.el: Remove unused var X-Git-Tag: emacs-26.0.90~520^2~11^2~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b78cf15118d665d2671101f8e78e3ac4efd92562;p=emacs.git * lisp/progmodes/cc-guess.el: Remove unused var (c-guess-view-reorder-offsets-alist-in-style): Remove redundantly bound and computed variable `guessed-syntactic-symbols'. --- diff --git a/lisp/progmodes/cc-guess.el b/lisp/progmodes/cc-guess.el index 153b3a31e56..c8cd6fbe40b 100644 --- a/lisp/progmodes/cc-guess.el +++ b/lisp/progmodes/cc-guess.el @@ -494,8 +494,7 @@ is called with one argument, the guessed style." ;; If an entry in `c-offsets-alist' holds a guessed value, move it to ;; front in the field. In addition alphabetical sort by entry name is done. (setq style (copy-tree style)) - (let ((offsets-alist-cell (assq 'c-offsets-alist style)) - (guessed-syntactic-symbols (c-guess-guessed-syntactic-symbols))) + (let ((offsets-alist-cell (assq 'c-offsets-alist style))) (setcdr offsets-alist-cell (sort (cdr offsets-alist-cell) (lambda (a b)