From: Lars Ingebrigtsen Date: Tue, 13 Sep 2022 16:24:14 +0000 (+0200) Subject: Remove a nil cl-case case X-Git-Tag: emacs-29.0.90~1856^2~548 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6e6a3efa2e806738b4c88e67db1b9bc87969831d;p=emacs.git Remove a nil cl-case case * lisp/emacs-lisp/testcover.el (testcover-coverage-combine): Remove the nil case, which will never match (bug#51368). --- diff --git a/lisp/emacs-lisp/testcover.el b/lisp/emacs-lisp/testcover.el index cd2e388ce42..760063d1f9d 100644 --- a/lisp/emacs-lisp/testcover.el +++ b/lisp/emacs-lisp/testcover.el @@ -637,8 +637,7 @@ argument is maybe, return maybe. Return 1value only if both arguments are 1value." (cl-case val (testcover-1value result) - (maybe (and result 'maybe)) - (nil nil))) + (maybe (and result 'maybe)))) (defun testcover-analyze-coverage-compose (forms func) "Analyze a list of FORMS for code coverage using FUNC.