[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
- Towards a cleaner build, Lars Ingebrigtsen, 2019/05/16
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/05/16
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/05/16
- Re: Towards a cleaner build,
Lars Ingebrigtsen <=
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/05/16
- Re: Towards a cleaner build, Stefan Monnier, 2019/05/17
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/05/17
- Re: Towards a cleaner build, Eli Zaretskii, 2019/05/17
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/05/17
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/05/17
- Re: Towards a cleaner build, Eli Zaretskii, 2019/05/17
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/05/17