(ll_next) First arg is UNUSED when NDEBUG is defined.
[pspp-builds.git] / src / linked-list.c
index a4340fac329f29246f3b9b2fb5b04f38d944867b..e7631a43f53da55ef1f7eae3ecd73b94f00508c1 100644 (file)
@@ -39,7 +39,7 @@ ll_first (const struct linked_list *ll, struct ll_iterator *li)
 
 /* Return the next element in LL iterated by LI */
 void *
-ll_next (const struct linked_list *ll, struct ll_iterator *li)
+ll_next (const struct linked_list *ll UNUSED, struct ll_iterator *li)
 {
   assert( ll ) ;