From: phk Date: Tue, 16 Oct 2007 10:17:24 +0000 (+0000) Subject: Silence flexelint X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=152fcf7d997c96667e3cf3179c8ce26dec72f3ca;p=varnish Silence flexelint git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2104 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_http.c b/varnish-cache/bin/varnishd/cache_http.c index b9812fc6..a6c12486 100644 --- a/varnish-cache/bin/varnishd/cache_http.c +++ b/varnish-cache/bin/varnishd/cache_http.c @@ -89,7 +89,7 @@ http2shmlog(const struct http *hp, int t) 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]); }