* 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'.
This commit is contained in:
Stefan Monnier 2017-07-04 21:55:44 -04:00
parent bc0b138451
commit b78cf15118

View file

@ -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)