test: fix deprecation warning in symbol-test

Reduce the amount of noise in the build log.
This commit is contained in:
David Bremner 2022-01-01 08:47:16 -04:00
parent 6472dbf4b7
commit 78e6cf12c0

View file

@ -12,8 +12,10 @@ main (int argc, char **argv)
if (argc != 3) if (argc != 3)
return 1; return 1;
if (notmuch_database_open_verbose (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY, if (notmuch_database_open_with_config (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY,
&notmuch, &message)) { "",
NULL,
&notmuch, &message)) {
if (message) { if (message) {
fputs (message, stderr); fputs (message, stderr);
free (message); free (message);