mirror of
https://github.com/git/git.git
synced 2026-01-11 21:33:13 +09:00
Merge branch 'cb/reftable-unused-portability-fix'
Build fix. * cb/reftable-unused-portability-fix: reftable: make REFTABLE_UNUSED C99 compatible
This commit is contained in:
commit
277064b5e7
@ -16,7 +16,11 @@
|
||||
#include "system.h"
|
||||
#include "reftable-basics.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define REFTABLE_UNUSED __attribute__((__unused__))
|
||||
#else
|
||||
#define REFTABLE_UNUSED
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Initialize the buffer such that it is ready for use. This is equivalent to
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user