• Dridi Boukelmoune's avatar
    Use the TAKE_OBJ_NOTNULL macro where relevant · e6755a5d
    Dridi Boukelmoune authored
    This patch was created using Coccinelle and the following steps:
    
       $ cat >take.cocci <<EOF
       @@
       expression t, f;
       constant m;
       @@
    
       - AN(f);
       - t = *f;
       - *f = NULL;
       - CHECK_OBJ_NOTNULL(t, m);
       + TAKE_OBJ_NOTNULL(t, f, m);
       EOF
       $ spatch --sp-file take.cocci --dir . --in-place
    e6755a5d
Name
Last commit
Last update
..
libvarnish Loading commit data...
libvarnishapi Loading commit data...
libvarnishcompat Loading commit data...
libvarnishtools Loading commit data...
libvcc Loading commit data...
libvgz Loading commit data...
libvmod_debug Loading commit data...
libvmod_directors Loading commit data...
libvmod_std Loading commit data...
Makefile.am Loading commit data...
Makefile.phk Loading commit data...