[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Towards a cleaner build

From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build
Date: Fri, 17 May 2019 05:01:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

minibuffer.el:2974:1:Warning: Unused lexical variable ‘p1’
minibuffer.el:2974:1:Warning: Unused lexical variable ‘p2’

(defun completion-pcm--optimize-pattern (p)


        (`(,(and p1 (pred symbolp)) ,(and p2 (guard (eq p1 p2))) . ,_)
         ;; Unused lexical variable warning due to body not using p1, p2.
         ;; https://debbugs.gnu.org/16771

And, indeed, the bug hasn't been fixed.

However, as far as I can tell, completion-pcm--optimize-pattern is never
called from anywhere in the source code, and it's an internal function.
Can it be just removed?

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]