Fix some possible-use-of-uninitialized warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80515 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-08-30 21:13:58 +00:00
parent ad5b15379e
commit 12420d3a64

View File

@ -1419,8 +1419,8 @@ static void
findmust(struct parse *p, struct re_guts *g)
{
sop *scan;
sop *start; /* start initialized in the default case, after that */
sop *newstart; /* newstart was initialized in the OCHAR case */
sop *start = 0; /* start initialized in the default case, after that */
sop *newstart = 0; /* newstart was initialized in the OCHAR case */
sopno newlen;
sop s;
char *cp;