[master] 97351b9 Add an assert for clarity.

Poul-Henning Kamp phk at varnish-cache.org
Tue Nov 5 16:54:14 CET 2013


commit 97351b93562199f491d54358c1c99f362416fef4
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Nov 5 15:54:02 2013 +0000

    Add an assert for clarity.

diff --git a/lib/libvarnish/cli_serve.c b/lib/libvarnish/cli_serve.c
index 43c4ecf..3ea59d6 100644
--- a/lib/libvarnish/cli_serve.c
+++ b/lib/libvarnish/cli_serve.c
@@ -328,6 +328,7 @@ cls_vlu(void *priv, const char *p)
 	char **av;
 
 	CAST_OBJ_NOTNULL(cfd, priv, VCLS_FD_MAGIC);
+	AN(p);
 
 	cli = cfd->cli;
 	CHECK_OBJ_NOTNULL(cli, CLI_MAGIC);



More information about the varnish-commit mailing list