[master] 7da6220df Assert
Nils Goroll
nils.goroll at uplex.de
Mon Dec 16 11:18:24 UTC 2019
there already was one 4 lines below, that does checking twice gain?
On 16/12/2019 12:17, Dridi Boukelmoune wrote:
>
> commit 7da6220dfd86416200c43d84d40fce0cae1b5bae
> Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
> Date: Mon Dec 16 12:16:17 2019 +0100
>
> Assert
>
> diff --git a/bin/varnishd/cache/cache_ws.c b/bin/varnishd/cache/cache_ws.c
> index a40bdbc1b..a8208d3a0 100644
> --- a/bin/varnishd/cache/cache_ws.c
> +++ b/bin/varnishd/cache/cache_ws.c
> @@ -234,6 +234,7 @@ WS_ReserveAll(struct ws *ws)
> {
> unsigned b;
>
> + WS_Assert(ws);
> assert(ws->r == NULL);
>
> ws->r = ws->e;
> _______________________________________________
> varnish-commit mailing list
> varnish-commit at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit
>
--
** * * UPLEX - Nils Goroll Systemoptimierung
Scheffelstraße 32
22301 Hamburg
tel +49 40 28805731
mob +49 170 2723133
fax +49 40 42949753
xmpp://slink@jabber.int.uplex.de/
http://uplex.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-commit/attachments/20191216/7623007d/attachment.bin>
More information about the varnish-commit
mailing list