about summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-01-06 10:08:53 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-01-06 10:08:53 +0000
commit2d47270112f9e3bf7c8ddbcdad0e537d5f34423a (patch)
tree1b99c2a6f712b0bd33d65e51f9eecd17d37a3fbb /Src/Modules
parent942fe9d6de40c0dc3028fc1d762b06124bb1a3b8 (diff)
downloadzsh-2d47270112f9e3bf7c8ddbcdad0e537d5f34423a.tar.gz
zsh-2d47270112f9e3bf7c8ddbcdad0e537d5f34423a.tar.xz
zsh-2d47270112f9e3bf7c8ddbcdad0e537d5f34423a.zip
unposted: fix uninitialised variable warning in pcre
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/pcre.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Modules/pcre.c b/Src/Modules/pcre.c
index 2e3556a8d..cb9f8ef57 100644
--- a/Src/Modules/pcre.c
+++ b/Src/Modules/pcre.c
@@ -354,6 +354,7 @@ cond_pcre_match(char **a, int id)
     unmetafy(rhre_plain, NULL);
     pcre_pat = NULL;
     ov = NULL;
+    ovsize = 0;
 
     if (isset(BASHREMATCH))
 	avar="BASH_REMATCH";