Commit 6dc841e592155961a7aeeba72b15d5111bd3a4f5

Thomas de Grivel 2015-06-26T18:18:31

Remove warning about unused variables.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/can.lisp b/can.lisp
index 049a6d9..23dccc0 100644
--- a/can.lisp
+++ b/can.lisp
@@ -85,6 +85,7 @@
             (object (gensym "OBJECT-"))
             (user (gensym "USER-")))
         `(lambda (,action ,object ,user)
+           (declare (ignorable ,action ,object ,user))
            (eq :can
                (or ,@(mapcar (lambda (rule)
                                (can/rule user action