From 78e61189741e34adb51e85c9c244e9497509f969 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 16 Oct 2007 09:00:22 +0000 Subject: [PATCH] Flexelint polish git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2098 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_pool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5