diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2021-02-04 14:32:21 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2021-02-06 20:22:24 +0100 |
commit | 4dc3231c91c339e602f59dcfee372017b92e4318 (patch) | |
tree | f600a3e24c5ddcc75d56150dfaabf3e45fc4df68 /lisp/emacs-lisp/pp.el | |
parent | 83983b6b7a115474572973b62eb5e42251713e63 (diff) | |
download | emacs-4dc3231c91c339e602f59dcfee372017b92e4318.tar.gz emacs-4dc3231c91c339e602f59dcfee372017b92e4318.tar.bz2 emacs-4dc3231c91c339e602f59dcfee372017b92e4318.zip |
Fix spurious warnings from unwise condition order in inlined code
These are both conditions having the form (and A B) where A is
side-effect-free and B may be known to be nil at compile time.
The compiler will then warn about A being useless and thrown away.
The fix is to test B first.
* lisp/gnus/gnus.el (gnus-method-to-server):
Test `(not no-enter-cache)` first.
(gnus-server-get-method): Test `group` first.
Diffstat (limited to 'lisp/emacs-lisp/pp.el')
0 files changed, 0 insertions, 0 deletions