assert NOARG/NONEG behavior of parse-options callbacks
[gitweb.git] / git-compat-util.h
index 95cfcc1aeb3ec51e602f378bc9e94dd5cccb123c..96a3f86d8e6991e19815008a3a6b8cebe95b1ca8 100644 (file)
@@ -412,6 +412,8 @@ static inline char *git_find_last_dir_sep(const char *path)
 #define LAST_ARG_MUST_BE_NULL
 #endif
 
+#define MAYBE_UNUSED __attribute__((__unused__))
+
 #include "compat/bswap.h"
 
 #include "wildmatch.h"