[PATCH] test: fix deprecation warning in symbol-test

Subject: [PATCH] test: fix deprecation warning in symbol-test

Date: Sat, 1 Jan 2022 08:47:16 -0400

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


Reduce the amount of noise in the build log.
---
 test/symbol-test.cc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/test/symbol-test.cc b/test/symbol-test.cc
index 9d73a571..9e956ddf 100644
--- a/test/symbol-test.cc
+++ b/test/symbol-test.cc
@@ -12,8 +12,10 @@ main (int argc, char **argv)
     if (argc != 3)
 	return 1;
 
-    if (notmuch_database_open_verbose (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY,
-				       &notmuch, &message)) {
+    if (notmuch_database_open_with_config (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY,
+					   "",
+					   NULL,
+					   &notmuch, &message)) {
 	if (message) {
 	    fputs (message, stderr);
 	    free (message);
-- 
2.34.1

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: