From: des Date: Fri, 11 May 2007 11:06:03 +0000 (+0000) Subject: Comment out comparisons which are always true (unsigned >= 0) X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=454b95ebf8c1ba6acb3f40ea60c25ca92658fad5;p=varnish Comment out comparisons which are always true (unsigned >= 0) git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1406 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_http.c b/varnish-cache/bin/varnishd/cache_http.c index 9241ee29..802e87b8 100644 --- a/varnish-cache/bin/varnishd/cache_http.c +++ b/varnish-cache/bin/varnishd/cache_http.c @@ -81,8 +81,8 @@ http2shmlog(struct http *hp, enum httptag t) { CHECK_OBJ_NOTNULL(hp, HTTP_MAGIC); - assert(hp->logtag >= HTTP_Rx && hp->logtag <= HTTP_Obj); - assert(t >= HTTP_T_Request && t <= HTTP_T_LostHeader); + assert(/* hp->logtag >= HTTP_Rx && */hp->logtag <= HTTP_Obj); + assert(/* t >= HTTP_T_Request && */t <= HTTP_T_LostHeader); return (logmtx[hp->logtag][t]); }