]> err.no Git - varnish/commitdiff
Flexelint polish
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 16 Oct 2007 09:00:22 +0000 (09:00 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 16 Oct 2007 09:00:22 +0000 (09:00 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2098 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_pool.c

index 97388eec45de25420ebd38e24e69b59a059d2eda..96c6bb308737e92b807c542adc706984950469c6 100644 (file)
@@ -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;