]> git.eshelyaron.com Git - emacs.git/commit
Ignore ert-deftest body value
authorMattias Engdegård <mattiase@acm.org>
Mon, 14 Aug 2023 14:48:05 +0000 (16:48 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 14 Aug 2023 15:03:44 +0000 (17:03 +0200)
commit33bcd4f2d28a7101dbc0ea5563e99cd7f117e21b
tree24d1bb2adc0715038048af9033235602128aaf5a
parent31ee2ad5ac609db73052aee3c37a326693b2f70f
Ignore ert-deftest body value

* lisp/emacs-lisp/ert.el (ert-deftest):
Since the return value of the body isn't going to be used, ignore
it explicitly so that the compiler can warn if we try to return
something anyway.  In particular, this exposes some comparisons
whose result weren't actually checked.
lisp/emacs-lisp/ert.el