Commit efeba00a authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make the logic visible for FlexeLint


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2029 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 94d53258
......@@ -178,9 +178,9 @@ WSL_Flush(struct worker *w)
unsigned char *p;
unsigned l;
if (w->wlp == w->wlog)
return;
l = pdiff(w->wlog, w->wlp);
if (l == 0)
return;
LOCKSHM(&vsl_mtx);
VSL_stats->shm_writes++;
VSL_stats->shm_records += w->wlr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment