Skip to content

Commit d16eadf

Browse files
committed
fixup! 46fe8c9
This needs to be guarded against GCC complaining that it does not know this option... _sigh_ Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 56c4f54 commit d16eadf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compat/win32/fscache.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,9 @@ int fscache_is_mount_point(struct strbuf *path)
670670
{
671671
int dirlen, base, len;
672672
#pragma GCC diagnostic push
673+
#ifdef __clang__
673674
#pragma GCC diagnostic ignored "-Wflexible-array-extensions"
675+
#endif
674676
struct heap_fsentry key[2];
675677
#pragma GCC diagnostic pop
676678
struct fsentry *fse;

0 commit comments

Comments
 (0)