aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-04-09 11:01:52 +0300
committerEli Zaretskii2024-04-09 11:01:52 +0300
commit2c6eb49fa2d62fc07ccecdd1c074235064bf5375 (patch)
treec6d85873558f2e318126c05377129f96cdd13ef9
parent22386c5634ba72d4f7b321524509c1e3549fe4d2 (diff)
downloademacs-2c6eb49fa2d62fc07ccecdd1c074235064bf5375.tar.gz
emacs-2c6eb49fa2d62fc07ccecdd1c074235064bf5375.zip
; Avoid byte-compiler warnings in 'ls-lisp-test-bug70271'.
-rw-r--r--test/lisp/ls-lisp-tests.el3
1 files changed, 2 insertions, 1 deletions
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 @@
29(require 'ls-lisp) 29(require 'ls-lisp)
30(require 'dired) 30(require 'dired)
31 31
32(defvar dired-find-subdir)
32(ert-deftest ls-lisp-test-bug70271 () 33(ert-deftest ls-lisp-test-bug70271 ()
33 "Test for https://debbugs.gnu.org/70271 ." 34 "Test for https://debbugs.gnu.org/70271 ."
34 (ert-with-temp-file 35 (ert-with-temp-file
@@ -37,7 +38,7 @@
37 (let* ((dir (file-name-directory fpath)) 38 (let* ((dir (file-name-directory fpath))
38 (attributes (file-attributes fpath)) 39 (attributes (file-attributes fpath))
39 (dired-find-subdir t) 40 (dired-find-subdir t)
40 ls-lisp-use-insert-directory-program buf ts) 41 ls-lisp-use-insert-directory-program buf ts str)
41 (unwind-protect 42 (unwind-protect
42 (progn 43 (progn
43 (setq ts (file-attribute-access-time attributes)) 44 (setq ts (file-attribute-access-time attributes))