From: Ben Pfaff Date: Mon, 4 Jul 2005 04:46:13 +0000 (+0000) Subject: (ll_next) First arg is UNUSED when NDEBUG is defined. X-Git-Tag: v0.4.0~51 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69c4f53969e9b3667075bd0328cbe48f28a1a2ac;p=pspp-builds.git (ll_next) First arg is UNUSED when NDEBUG is defined. --- diff --git a/src/linked-list.c b/src/linked-list.c index a4340fac..e7631a43 100644 --- a/src/linked-list.c +++ b/src/linked-list.c @@ -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 ) ;