mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
Silence some unused variable warnings in tests/condition.[im]pure.lisp
This commit is contained in:
parent
9d5be5e953
commit
15cd7569cd
|
|
@ -51,6 +51,7 @@
|
|||
(foo2 (make-condition 'error)))
|
||||
(handler-bind
|
||||
((error (lambda (c)
|
||||
(declare (ignore c))
|
||||
(let ((restarts (remove 'res (compute-restarts foo1)
|
||||
:key #'restart-name
|
||||
:test-not #'eql)))
|
||||
|
|
@ -96,8 +97,11 @@
|
|||
(assert
|
||||
(eq (block nil
|
||||
(handler-bind
|
||||
((type-error (lambda (c) (return :failed)))
|
||||
((type-error (lambda (c)
|
||||
(declare (ignore c))
|
||||
(return :failed)))
|
||||
(simple-error (lambda (c)
|
||||
(declare (ignore c))
|
||||
(return (if (find-restart 'continue)
|
||||
:passed
|
||||
:failed)))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue