From: phk Date: Wed, 16 Jan 2008 11:44:30 +0000 (+0000) Subject: Mark return value as intentionally unused. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=962e6658b8afb50e57e6d52893d6107de2683e59;p=varnish Mark return value as intentionally unused. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2350 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_httpconn.c b/varnish-cache/bin/varnishd/cache_httpconn.c index 9e1eafe6..6c6fabad 100644 --- a/varnish-cache/bin/varnishd/cache_httpconn.c +++ b/varnish-cache/bin/varnishd/cache_httpconn.c @@ -86,7 +86,7 @@ HTC_Init(struct http_conn *htc, struct ws *ws, int fd) htc->magic = HTTP_CONN_MAGIC; htc->ws = ws; htc->fd = fd; - WS_Reserve(htc->ws, (htc->ws->e - htc->ws->s) / 2); + (void)WS_Reserve(htc->ws, (htc->ws->e - htc->ws->s) / 2); htc->rxbuf.b = ws->f; htc->rxbuf.e = ws->f; htc->pipeline.b = NULL; @@ -106,7 +106,7 @@ HTC_Reinit(struct http_conn *htc) int i; CHECK_OBJ_NOTNULL(htc, HTTP_CONN_MAGIC); - WS_Reserve(htc->ws, (htc->ws->e - htc->ws->s) / 2); + (void)WS_Reserve(htc->ws, (htc->ws->e - htc->ws->s) / 2); htc->rxbuf.b = htc->ws->f; htc->rxbuf.e = htc->ws->f; if (htc->pipeline.b != NULL) {