r725 - trunk/varnish-cache/lib/libvarnish
phk at projects.linpro.no
phk at projects.linpro.no
Mon Aug 7 17:54:34 CEST 2006
Author: phk
Date: 2006-08-07 17:54:34 +0200 (Mon, 07 Aug 2006)
New Revision: 725
Modified:
trunk/varnish-cache/lib/libvarnish/vsb.c
Log:
Quench warnings.
Modified: trunk/varnish-cache/lib/libvarnish/vsb.c
===================================================================
--- trunk/varnish-cache/lib/libvarnish/vsb.c 2006-08-07 15:51:32 UTC (rev 724)
+++ trunk/varnish-cache/lib/libvarnish/vsb.c 2006-08-07 15:54:34 UTC (rev 725)
@@ -70,6 +70,8 @@
static void
_vsb_assert_integrity(const char *fun, struct vsb *s)
{
+ (void)fun;
+ (void)s;
KASSERT(s != NULL,
("%s called with a NULL vsb pointer", fun));
KASSERT(s->s_buf != NULL,
@@ -81,6 +83,9 @@
static void
_vsb_assert_state(const char *fun, struct vsb *s, int state)
{
+ (void)fun;
+ (void)s;
+ (void)state;
KASSERT((s->s_flags & VSB_FINISHED) == state,
("%s called with %sfinished or corrupt vsb", fun,
(state ? "un" : "")));
More information about the varnish-commit
mailing list