Eliminate "unused variable" warning from ARRAY-ROW-MAJOR-INDEX
[sbcl.git] / src / compiler / array-tran.lisp
index fcf1f60..f3cf136 100644 (file)
                 (setf dims (nreverse dims))
                 `(lambda (,@',(when new-value (list new-value))
                           ,',array ,@n-indices)
+                   (declare (ignorable ,',array))
                    (let* (,@(let ((,index -1))
                               (mapcar (lambda (name)
                                         `(,name (array-dimension