From: phk Date: Tue, 16 Oct 2007 09:00:22 +0000 (+0000) Subject: Flexelint polish X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78e61189741e34adb51e85c9c244e9497509f969;p=varnish Flexelint polish git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2098 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_pool.c b/varnish-cache/bin/varnishd/cache_pool.c index 97388eec..96c6bb30 100644 --- a/varnish-cache/bin/varnishd/cache_pool.c +++ b/varnish-cache/bin/varnishd/cache_pool.c @@ -200,11 +200,12 @@ wrk_do_one(struct worker *w) static void * wrk_thread(void *priv) { - struct worker w[1]; + struct worker *w, ww; struct wq *qp; char c; unsigned char wlog[8192]; /* XXX: size */ + w = &ww; qp = priv; memset(w, 0, sizeof *w); w->magic = WORKER_MAGIC;