Commit 68ad27f1d876d52cae1ad2db150b5ba4af990297

Thomas de Grivel 2017-06-20T22:23:07

remove warning

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/cffi-socket.lisp b/cffi-socket.lisp
index 3791843..0938742 100644
--- a/cffi-socket.lisp
+++ b/cffi-socket.lisp
@@ -134,6 +134,7 @@
 		       &body body)
   (declare (type symbol fd-var addr-var))
   `(multiple-value-bind (,fd-var ,addr-var) (accept ,listening-fd)
+     (declare (ignorable ,addr-var))
      (when ,fd-var
        (unwind-protect (progn ,@body)
          (shutdown ,fd-var t t)