From 439d1ef814551d2687bd4b1596bb593d32d2f0b5 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 14 Feb 2021 22:27:51 -0400 Subject: [PATCH] lib/open: remove incorrect unused attribute With the current unused macro in lib/notmuch-private.h this seems harmless, but is misleading, since the parameter is in fact used. --- lib/open.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/open.cc b/lib/open.cc index b4637ec5..3b86065b 100644 --- a/lib/open.cc +++ b/lib/open.cc @@ -186,7 +186,7 @@ notmuch_status_t notmuch_database_open_with_config (const char *database_path, notmuch_database_mode_t mode, const char *config_path, - unused(const char *profile), + const char *profile, notmuch_database_t **database, char **status_string) { -- 2.43.0