Appease flexelint

cache/cache_vrt.c  916  Warning 438: Last value assigned to variable
'berr' (defined at line 849) not used

berr is intentionally NULLed to clarify that no dynamic value must stay
alive after the BAN_Abandon()

Ref 6eee0074
parent bfb95f83
......@@ -908,6 +908,7 @@ VRT_ban_string(VRT_CTX, VCL_STRING str)
err = "Unknown error (workspace overflow)";
berr = NULL;
}
AZ(berr);
if (bp != NULL)
BAN_Abandon(bp);
VAV_Free(av);
......
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