about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-11-17 12:27:18 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-11-17 12:27:18 +0000
commitcf4e27a129cbb04c8206d9efb41a3b58a558a241 (patch)
tree5b1eb02abbe0edca221d6b478aa3263460ad3072
parent7c5173ba0fd41027ec32d4f7cf29deaaadbec1e4 (diff)
downloadzsh-cf4e27a129cbb04c8206d9efb41a3b58a558a241.tar.gz
zsh-cf4e27a129cbb04c8206d9efb41a3b58a558a241.tar.xz
zsh-cf4e27a129cbb04c8206d9efb41a3b58a558a241.zip
29907: Jun T.: remove declaration of unused variable
-rw-r--r--ChangeLog7
-rw-r--r--Src/Modules/pcre.c1
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 71376d100..05c5ba28e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-17  Peter Stephenson  <pws@csr.com>
+
+	* Jun T.: 29907: Src/Modules/pcre.c: remove declaration of
+	unused variable.
+
 2011-11-15  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* users/16581: Src/utils.c: it seems wrong to shortcut correction
@@ -15577,5 +15582,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5499 $
+* $Revision: 1.5500 $
 *****************************************************
diff --git a/Src/Modules/pcre.c b/Src/Modules/pcre.c
index e36013163..2e3556a8d 100644
--- a/Src/Modules/pcre.c
+++ b/Src/Modules/pcre.c
@@ -340,7 +340,6 @@ cond_pcre_match(char **a, int id)
     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;