]> err.no Git - varnish/commitdiff
Mark return value as intentionally unused.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 16 Jan 2008 11:44:30 +0000 (11:44 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 16 Jan 2008 11:44:30 +0000 (11:44 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2350 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_httpconn.c

index 9e1eafe680185fdef1d88c9397ddaa0cc410da9d..6c6fabadfd68ba0228743840e4456a4ce1a8933a 100644 (file)
@@ -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) {