* test/lisp/subr-tests.el (test-print-unreadable-function):
* test/src/print-tests.el (test-print-unreadable-function-buffer):
Pacify byte-compiler.
;; Check that problem with unwinding properly is fixed (bug#56773).
(with-temp-buffer
(let ((buf (current-buffer)))
- (readablep (make-marker))
+ (let ((_ (readablep (make-marker)))) nil) ; this `let' silences a
+ ; warning
(should (eq buf (current-buffer))))))
(ert-deftest test-string-lines ()
(let ((print-unreadable-function
(lambda (_object _escape)
(setq callback-buffer (current-buffer)))))
- (prin1-to-string (make-marker)))
+ (let ((_ (prin1-to-string (make-marker)))) nil)) ; this `let' silences a
+ ; warning
(should (eq current callback-buffer)))))
(provide 'print-tests)