Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-30 09:43:48 +0300
committerJunio C Hamano <gitster@pobox.com>2018-10-30 09:43:48 +0300
commitd1622fdbdd83831983e8b99250792e5fca7b9159 (patch)
treec3beb5f30ba119cfa361e222cdc1c8eb26b96509 /git-compat-util.h
parentda3e0752cdfe7ae535b4e740f162f1e4926d4201 (diff)
parentd99ea5f9c5feb4f17f39a2e438795f934b32c739 (diff)
Merge branch 'cb/khash-maybe-unused-function'
Build fix. * cb/khash-maybe-unused-function: khash: silence -Wunused-function for delta-islands commit-slabs: move MAYBE_UNUSED out
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 95cfcc1aeb..96a3f86d8e 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -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"