]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-private.h
Re-enable the warning for unused parameters.
[notmuch] / notmuch-private.h
index be1fb63fe9a1227130501ffc62276b7c8ff3018a..aac67b2e4bcf51737bb9b5be6452380f3b5fc33f 100644 (file)
@@ -72,6 +72,8 @@ _internal_error (const char *format, ...) PRINTF_ATTRIBUTE (1, 2);
     _internal_error (format " (%s).\n",                        \
                     ##__VA_ARGS__, __location__)
 
+#define unused(x) x __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.
  */