1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2026-01-02 08:21:09 +01:00

unposted: fix uninitialised variable warning in pcre

This commit is contained in:
Peter Stephenson 2012-01-06 10:08:53 +00:00
parent 942fe9d6de
commit 2d47270112
2 changed files with 7 additions and 1 deletions

View file

@ -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 $
*****************************************************

View file

@ -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";