mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-24 02:14:52 +01:00
lib: use a stricter unused macro
This would have caught bugs like the one corrected in the previous commit.
This commit is contained in:
parent
439d1ef814
commit
1b2ec7578e
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ NOTMUCH_BEGIN_DECLS
|
|||
#define NOTMUCH_CLEAR_BIT(valp, bit) \
|
||||
(_NOTMUCH_VALID_BIT (bit) ? (*(valp) &= ~(1ull << (bit))) : *(valp))
|
||||
|
||||
#define unused(x) x __attribute__ ((unused))
|
||||
#define unused(x) x ## _unused __attribute__ ((unused))
|
||||
|
||||
/* Thanks to Andrew Tridgell's (SAMBA's) talloc for this definition of
|
||||
* unlikely. The talloc source code comes to us via the GNU LGPL v. 3.
|
||||
|
|
Loading…
Reference in a new issue