unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] test: fix deprecation warning in symbol-test
@ 2022-01-01 12:47 David Bremner
  2022-01-16 19:40 ` David Bremner
  0 siblings, 1 reply; 2+ messages in thread
From: David Bremner @ 2022-01-01 12:47 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] test: fix deprecation warning in symbol-test
  2022-01-01 12:47 [PATCH] test: fix deprecation warning in symbol-test David Bremner
@ 2022-01-16 19:40 ` David Bremner
  0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2022-01-16 19:40 UTC (permalink / raw)
  To: notmuch

David Bremner <david@tethera.net> writes:

> Reduce the amount of noise in the build log.
> ---

applied to master.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-16 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-01 12:47 [PATCH] test: fix deprecation warning in symbol-test David Bremner
2022-01-16 19:40 ` David Bremner

Code repositories for project(s) associated with this inbox:

	notmuch.git.git (no URL configured)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).