r2104 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Oct 16 12:17:24 CEST 2007


Author: phk
Date: 2007-10-16 12:17:24 +0200 (Tue, 16 Oct 2007)
New Revision: 2104

Modified:
   trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Silence flexelint


Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c	2007-10-16 09:43:52 UTC (rev 2103)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c	2007-10-16 10:17:24 UTC (rev 2104)
@@ -89,7 +89,7 @@
 	CHECK_OBJ_NOTNULL(hp, HTTP_MAGIC);
 	if (t > HTTP_HDR_FIRST)
 		t = HTTP_HDR_FIRST;
-	assert(hp->logtag >= HTTP_Rx && hp->logtag <= HTTP_Obj);
+	assert(hp->logtag >= HTTP_Rx && hp->logtag <= HTTP_Obj); /*lint !e685*/
 	assert(t >= HTTP_HDR_REQ && t <= HTTP_HDR_FIRST);
 	return (logmtx[hp->logtag][t]);
 }




More information about the varnish-commit mailing list