From b78cf15118d665d2671101f8e78e3ac4efd92562 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 4 Jul 2017 21:55:44 -0400 Subject: [PATCH] * 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'. --- lisp/progmodes/cc-guess.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.39.2