Skip to content

Commit

Permalink
patch 9.1.0410: warning about uninitialized variable
Browse files Browse the repository at this point in the history
Problem:  warning about uninitialized variable
          (Tony Mechelynck, after 9.1.0409)
Solution: initialize variable (John Marriott)

closes: #14754

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
  • Loading branch information
basilisk0315 authored and chrisbra committed May 12, 2024
1 parent 82792db commit d01e699
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/regexp.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ skip_regexp_ex(
{
if (dirc == '?' && newp != NULL && p[1] == '?')
{
size_t startplen;
size_t startplen = 0;

// change "\?" to "?", make a copy first.
if (*newp == NULL)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
410,
/**/
409,
/**/
Expand Down

0 comments on commit d01e699

Please sign in to comment.