From: David Bremner Date: Mon, 15 Feb 2021 02:27:51 +0000 (-0400) Subject: lib/open: remove incorrect unused attribute X-Git-Tag: 0.32_rc0~78 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;ds=sidebyside;h=439d1ef814551d2687bd4b1596bb593d32d2f0b5;p=notmuch 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. --- 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) {