projects
/
sbcl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f29dcbc
)
restart-case: Spurious unused variable warnings.
author
Stas Boukarev
<stassats@gmail.com>
Sun, 3 Feb 2013 09:38:29 +0000
(13:38 +0400)
committer
Stas Boukarev
<stassats@gmail.com>
Sun, 3 Feb 2013 09:38:29 +0000
(13:38 +0400)
restart-case without any restart clauses used to signal an unused
variable warning, add ignorable declaration.
Fixes lp#1113859
src/code/defboot.lisp
patch
|
blob
|
history
diff --git
a/src/code/defboot.lisp
b/src/code/defboot.lisp
index
050489b
..
9f3bf28
100644
(file)
--- a/
src/code/defboot.lisp
+++ b/
src/code/defboot.lisp
@@
-549,6
+549,7
@@
evaluated as a PROGN."
clauses))))
`(block ,block-tag
(let ((,temp-var nil))
+ (declare (ignorable ,temp-var))
(tagbody
(restart-bind
,(mapcar (lambda (datum)