From 403f69511a8a2c543916c4c55f7f2ff8b6bff0f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerd=20M=C3=B6llmann?= Date: Sat, 29 Oct 2022 14:26:28 +0200 Subject: [PATCH] Fix byte-compiler warnings in tests * test/src/pkg-tests.el (pkg-tests-*package*): Fix empty let. (pkg-tests-use-package): Make local var status ignored. --- test/src/pkg-tests.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/pkg-tests.el b/test/src/pkg-tests.el index df44859fa42..9ddef8ebc78 100644 --- a/test/src/pkg-tests.el +++ b/test/src/pkg-tests.el @@ -49,7 +49,7 @@ (ert-deftest pkg-tests-*package* () (should (eq (let ((*package* (find-package "emacs"))) 'good) 'good)) (should-error (let ((*package* :emacs)) nil)) - (should-error (let ((*package* 1)))) + (should-error (let ((*package* 1)) nil)) (should-error (setq *package* :keyword)) (should-error (makunbound *package*)) (with-temp-buffer @@ -206,7 +206,7 @@ (let ((sym-a (intern "a" x))) (should (eq (symbol-package sym-a) x)) (use-package x y) - (cl-multiple-value-bind (sym status) + (cl-multiple-value-bind (sym _status) (find-symbol "a" y) (should (null sym)) (when nil -- 2.39.2