Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

unused variable in pcre.c



I'm getting the following warning:
pcre.c:343: warning: unused variable ‘p’

Index: Src/Modules/pcre.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/pcre.c,v
retrieving revision 1.19
diff -u -r1.19 pcre.c
--- Src/Modules/pcre.c	24 Oct 2011 11:31:25 -0000	1.19
+++ Src/Modules/pcre.c	17 Nov 2011 05:44:47 -0000
@@ -340,7 +340,6 @@
     pcre *pcre_pat;
     const char *pcre_err;
     char *lhstr, *rhre, *lhstr_plain, *rhre_plain, *avar=NULL;
-    char *p;
     int r = 0, pcre_opts = 0, pcre_errptr, capcnt, *ov, ovsize;
     int return_value = 0;
 




Messages sorted by: Reverse Date, Date, Thread, Author