X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Findexopts.c;fp=lib%2Findexopts.c;h=82a0026f0d46b47d46e94407d2271df978bd90db;hb=31dab9b1cd66c7f285fe86021f66940f679325d4;hp=1e8d180e8af7bdf54d784b46876e5b843f111c62;hpb=3f8b01a3ef9e50a772897c67e0146172b3849749;p=notmuch diff --git a/lib/indexopts.c b/lib/indexopts.c index 1e8d180e..82a0026f 100644 --- a/lib/indexopts.c +++ b/lib/indexopts.c @@ -32,7 +32,7 @@ notmuch_database_get_default_indexopts (notmuch_database_t *db) char *decrypt_policy; notmuch_status_t err = notmuch_database_get_config (db, "index.decrypt", &decrypt_policy); if (err) - return ret; + return NULL; if (decrypt_policy) { if ((! (strcasecmp (decrypt_policy, "true"))) ||