From 962e6658b8afb50e57e6d52893d6107de2683e59 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 16 Jan 2008 11:44:30 +0000 Subject: [PATCH] Mark return value as intentionally unused. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2350 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_httpconn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5