X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fsymbol-test.cc;h=3e96c034e13e94412285bcde6dd2d74e870993d2;hp=1548ca400a544f3ddb325ce02826de1531cf602d;hb=4e2c351c588ad74f4800ca0344232be90387c54a;hpb=ac8576de63b4383aef597e1db5af939e3b46594c diff --git a/test/symbol-test.cc b/test/symbol-test.cc index 1548ca40..3e96c034 100644 --- a/test/symbol-test.cc +++ b/test/symbol-test.cc @@ -4,7 +4,8 @@ int main() { - (void) notmuch_database_open("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY); + notmuch_database_t *notmuch; + notmuch_database_open("fakedb", NOTMUCH_DATABASE_MODE_READ_ONLY, ¬much); try { (void) new Xapian::WritableDatabase("./nonexistant", Xapian::DB_OPEN);