flexelint 771c02cf

it does not understand that wrk_addstat() only returns true for tp !=
NULL.
parent 95dd39a0
......@@ -398,6 +398,7 @@ Pool_Work_Thread(struct pool *pp, struct worker *wrk)
if (wrk_addstat(wrk, tp, 1)) {
wrk->stats->summs++;
AN(tp);
} else if (pp->b_stat != NULL && pp->a_stat->summs) {
/* Nothing to do, push pool stats into global pool */
tps.func = pool_stat_summ;
......
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