std-slot-value.lsp: declare ignoring unused variable. Closes #13.
authorDaniel Kochmański <dkochmanski@hellsgate.pl>
Sat, 14 Mar 2015 20:58:05 +0000 (21:58 +0100)
committerDaniel Kochmański <dkochmanski@hellsgate.pl>
Sat, 14 Mar 2015 20:58:05 +0000 (21:58 +0100)
src/clos/std-slot-value.lsp

index ff57688..e616899 100644 (file)
 ;;;
 
 (defun invalid-slot-location (instance location)
-  (declare (si::c-local))
+  (declare (si::c-local)
+          (ignore instance))
   (error "Invalid location ~A when accessing slot of class ~A"
         location (class-of location)))