summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-02-14 22:27:51 -0400
committerDavid Bremner <david@tethera.net>2021-02-14 22:27:51 -0400
commit439d1ef814551d2687bd4b1596bb593d32d2f0b5 (patch)
treee2470cdcca51a8e5fe15120ada5d4b1b9b32353c /lib
parent8fb42948a209c54e3dcf832119d7f54e9cc0665a (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/open.cc2
1 files changed, 1 insertions, 1 deletions
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)
{