]> err.no Git - varnish/commitdiff
nitpicking
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 30 Sep 2007 19:42:16 +0000 (19:42 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Sun, 30 Sep 2007 19:42:16 +0000 (19:42 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2058 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_pool.c

index 5948e6a9e76de6b94f16ed7fa8e13cc2bb404dd7..54daa6d76fa53b10dc02dff43dff9a5563482ef8 100644 (file)
@@ -199,12 +199,11 @@ wrk_do_one(struct worker *w)
 static void *
 wrk_thread(void *priv)
 {
-       struct worker *w, ww;
+       struct worker w[1];
        struct wq *qp;
        char c;
 
        qp = priv;
-       w = &ww;
        memset(w, 0, sizeof *w);
        w->magic = WORKER_MAGIC;
        w->used = TIM_real();