diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2023-05-13 13:42:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-13 13:42:24 +0100 |
commit | c87a3f8f6c698e62bc95f801755db8c4281bebe7 (patch) | |
tree | 72edc703c21bde40a3fb3104c66eea408e25fb3c /src | |
parent | 213d35ea6d69598693b7f4b5b737aa98c91ba98e (diff) | |
parent | 027630ddd42e5ab4f4f5a221f38a3fd5bda4e3d4 (diff) | |
download | libgit2-c87a3f8f6c698e62bc95f801755db8c4281bebe7.tar.gz |
Merge pull request #6561 from libgit2/ethomson/xdiff
Update xdiff to git 2.40.1's version
Diffstat (limited to 'src')
-rw-r--r-- | src/util/cc-compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/cc-compat.h b/src/util/cc-compat.h index a0971e86c..ede6e9aa9 100644 --- a/src/util/cc-compat.h +++ b/src/util/cc-compat.h @@ -43,8 +43,10 @@ __typeof__(x) _unused __attribute__((unused)); \ _unused = (x); \ } while (0) +# define GIT_UNUSED_ARG __attribute__((unused)) #else # define GIT_UNUSED(x) ((void)(x)) +# define GIT_UNUSED_ARG #endif /* Define the printf format specifier to use for size_t output */ |