summaryrefslogtreecommitdiffstats
path: root/compat/regex/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/regex/regcomp.c')
-rw-r--r--compat/regex/regcomp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/regex/regcomp.c b/compat/regex/regcomp.c
index 6c5d455e92..8d93a9b93f 100644
--- a/compat/regex/regcomp.c
+++ b/compat/regex/regcomp.c
@@ -17,6 +17,8 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+
#if defined __TANDEM
/* This is currently duplicated from git-compat-utils.h */
# ifdef NO_INTPTR_T