Skip to content

Commit

Permalink
fixup! 46fe8c9
Browse files Browse the repository at this point in the history
This needs to be guarded against GCC complaining that it does not know
this option... _sigh_

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Feb 25, 2025
1 parent 56c4f54 commit d16eadf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compat/win32/fscache.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,9 @@ int fscache_is_mount_point(struct strbuf *path)
{
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;
Expand Down

0 comments on commit d16eadf

Please sign in to comment.