summaryrefslogtreecommitdiff
path: root/compat/win32/headless.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/win32/headless.c')
-rw-r--r--compat/win32/headless.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/win32/headless.c b/compat/win32/headless.c
index 8b00dfe3bd..11392a0b9a 100644
--- a/compat/win32/headless.c
+++ b/compat/win32/headless.c
@@ -11,6 +11,8 @@
#include <stdlib.h>
#include <wchar.h>
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+
/*
* If `dir` contains the path to a Git exec directory, extend `PATH` to
* include the corresponding `bin/` directory (which is where all those