From b2354e8379e80de3e51b15ceb2ee3dbe67fa8ca7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 9 Apr 2024 11:01:52 +0300 Subject: [PATCH] ; Avoid byte-compiler warnings in 'ls-lisp-test-bug70271'. (cherry picked from commit 2c6eb49fa2d62fc07ccecdd1c074235064bf5375) --- test/lisp/ls-lisp-tests.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/lisp/ls-lisp-tests.el b/test/lisp/ls-lisp-tests.el index beecac22afc..a9ae025ad81 100644 --- a/test/lisp/ls-lisp-tests.el +++ b/test/lisp/ls-lisp-tests.el @@ -29,6 +29,7 @@ (require 'ls-lisp) (require 'dired) +(defvar dired-find-subdir) (ert-deftest ls-lisp-test-bug70271 () "Test for https://debbugs.gnu.org/70271 ." (ert-with-temp-file @@ -37,7 +38,7 @@ (let* ((dir (file-name-directory fpath)) (attributes (file-attributes fpath)) (dired-find-subdir t) - ls-lisp-use-insert-directory-program buf ts) + ls-lisp-use-insert-directory-program buf ts str) (unwind-protect (progn (setq ts (file-attribute-access-time attributes)) -- 2.39.5