diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-30 21:13:58 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-30 21:13:58 +0000 |
commit | 12420d3a641cc3734a128f21c909d35c4b62f43a (patch) | |
tree | f048a026e90499ebc233136b7b7dbc381d185e86 /lib/Support/regcomp.c | |
parent | ad5b15379ea0b0f29be79d521a710928413448d7 (diff) |
Fix some possible-use-of-uninitialized warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/regcomp.c')
-rw-r--r-- | lib/Support/regcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/regcomp.c b/lib/Support/regcomp.c index 4fd88b1249..2755fd83a8 100644 --- a/lib/Support/regcomp.c +++ b/lib/Support/regcomp.c @@ -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; |