about summary refs log tree commit diff
path: root/Src/Modules/pcre.c
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2004-06-22 23:47:57 +0000
committerClint Adams <clint@users.sourceforge.net>2004-06-22 23:47:57 +0000
commitceb7a0983360e53fed050367db92b96786d32597 (patch)
tree9bec5f07321594d408d9f70bfeae0f0af6171e5c /Src/Modules/pcre.c
parent08bd15e2823d5be249b3cb2ab7de1ffd55924ca4 (diff)
downloadzsh-ceb7a0983360e53fed050367db92b96786d32597.tar.gz
zsh-ceb7a0983360e53fed050367db92b96786d32597.tar.xz
zsh-ceb7a0983360e53fed050367db92b96786d32597.zip
20091: Src/Modules/pcre.c: silence gcc "unused parameter" warnings.
Diffstat (limited to 'Src/Modules/pcre.c')
-rw-r--r--Src/Modules/pcre.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Src/Modules/pcre.c b/Src/Modules/pcre.c
index b6c63f976..2336b27d7 100644
--- a/Src/Modules/pcre.c
+++ b/Src/Modules/pcre.c
@@ -42,7 +42,7 @@ static pcre_extra *pcre_hints;
 
 /**/
 static int
-bin_pcre_compile(char *nam, char **args, Options ops, int func)
+bin_pcre_compile(char *nam, char **args, Options ops, UNUSED(int func))
 {
     int pcre_opts = 0, pcre_errptr;
     const char *pcre_error;
@@ -70,7 +70,7 @@ bin_pcre_compile(char *nam, char **args, Options ops, int func)
 
 /**/
 static int
-bin_pcre_study(char *nam, char **args, Options ops, int func)
+bin_pcre_study(char *nam, UNUSED(char **args), UNUSED(Options ops), UNUSED(int func))
 {
     const char *pcre_error;
 
@@ -121,7 +121,7 @@ zpcre_get_substrings(char *arg, int *ovec, int ret, char *receptacle)
 
 /**/
 static int
-bin_pcre_match(char *nam, char **args, Options ops, int func)
+bin_pcre_match(char *nam, char **args, Options ops, UNUSED(int func))
 {
     int ret, capcount, *ovec, ovecsize;
     char *receptacle = NULL;
@@ -214,7 +214,7 @@ static struct conddef cotab[] = {
 
 /**/
 int
-setup_(Module m)
+setup_(UNUSED(Module m))
 {
     return 0;
 }
@@ -238,7 +238,7 @@ cleanup_(Module m)
 
 /**/
 int
-finish_(Module m)
+finish_(UNUSED(Module m))
 {
     return 0;
 }