diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2012-01-06 10:08:53 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2012-01-06 10:08:53 +0000 |
commit | 2d47270112f9e3bf7c8ddbcdad0e537d5f34423a (patch) | |
tree | 1b99c2a6f712b0bd33d65e51f9eecd17d37a3fbb | |
parent | 942fe9d6de40c0dc3028fc1d762b06124bb1a3b8 (diff) | |
download | zsh-2d47270112f9e3bf7c8ddbcdad0e537d5f34423a.tar.gz zsh-2d47270112f9e3bf7c8ddbcdad0e537d5f34423a.tar.xz zsh-2d47270112f9e3bf7c8ddbcdad0e537d5f34423a.zip |
unposted: fix uninitialised variable warning in pcre
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Src/Modules/pcre.c | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 086d9b385..e65cc4234 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-01-06 Peter Stephenson <pws@csr.com> + + * Src/Modules/pcre.c (cond_pcre_match): unposted: fix (harmless) + warning with uninitialised variable. + 2012-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com> * Christian Höltje: 30087: Functions/Prompts/promptinit: remove @@ -15832,5 +15837,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5556 $ +* $Revision: 1.5557 $ ***************************************************** 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"; |