Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
unused variable in pcre.c
- X-seq: zsh-workers 29907
- From: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: "zsh-workers-zsh.org" <zsh-workers@xxxxxxx>
- Subject: unused variable in pcre.c
- Date: Thu, 17 Nov 2011 14:53:34 +0900
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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