mirror of
https://github.com/git-for-windows/git.git
synced 2026-03-01 21:00:29 -06:00
fixup! 87ce6a064bc2a8df6d5fff26f09219420e03ab23
This needs to be guarded against GCC complaining that it does not know this option... _sigh_ Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
parent
d5953d8d45
commit
56c4f543d0
@ -79,7 +79,9 @@ struct fsentry {
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#pragma GCC diagnostic push
|
||||
#ifdef __clang__
|
||||
#pragma GCC diagnostic ignored "-Wflexible-array-extensions"
|
||||
#endif
|
||||
struct heap_fsentry {
|
||||
union {
|
||||
struct fsentry ent;
|
||||
@ -600,7 +602,9 @@ int fscache_lstat(const char *filename, struct stat *st)
|
||||
{
|
||||
int dirlen, base, len;
|
||||
#pragma GCC diagnostic push
|
||||
#ifdef __clang__
|
||||
#pragma GCC diagnostic ignored "-Wflexible-array-extensions"
|
||||
#endif
|
||||
struct heap_fsentry key[2];
|
||||
#pragma GCC diagnostic pop
|
||||
struct fsentry *fse;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user