[PATCH v3 07/16] create a notmuch_indexopts_t index options object

David Bremner david at tethera.net
Sat Feb 27 05:06:32 PST 2016


Daniel Kahn Gillmor <dkg at fifthhorseman.net> writes:

> +
> +notmuch_indexopts_t *
> +notmuch_indexopts_create ()
> +{
> +    notmuch_indexopts_t *ret;
> +    
> +    ret = talloc_zero (NULL, notmuch_indexopts_t);
> +
> +    return ret;
> +}

I have the same question about using talloc with a NULL context. It
_looks_ like there is no actual benefit here?

d



More information about the notmuch mailing list