]> git.notmuchmail.org Git - notmuch/commit
lib: return NULL from n_d_get_default_indexopts on error
authorDavid Bremner <david@tethera.net>
Sat, 1 Aug 2020 12:25:50 +0000 (09:25 -0300)
committerDavid Bremner <david@tethera.net>
Mon, 3 Aug 2020 23:45:58 +0000 (20:45 -0300)
commit31dab9b1cd66c7f285fe86021f66940f679325d4
treeffa42a588d39efd1db30379f9df9ce751afd39c1
parent3f8b01a3ef9e50a772897c67e0146172b3849749
lib: return NULL from n_d_get_default_indexopts on error

This is a rare and probably serious programming error, so better not
to silently return a default value.
lib/indexopts.c
lib/notmuch.h
test/T562-lib-database.sh