summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-30 21:13:58 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-30 21:13:58 +0000
commitbf75ffd1e2c699d955da824ccc609f003feb7a13 (patch)
tree87ef6e8ebbf3ff2e8881391d26f14a165ad68db0
parent89a9bb77e2af6b752aced0c7416f65b124f212b7 (diff)
downloadbcm5719-llvm-bf75ffd1e2c699d955da824ccc609f003feb7a13.tar.gz
bcm5719-llvm-bf75ffd1e2c699d955da824ccc609f003feb7a13.zip
Fix some possible-use-of-uninitialized warnings.
llvm-svn: 80515
-rw-r--r--llvm/lib/Support/regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/regcomp.c b/llvm/lib/Support/regcomp.c
index 4fd88b12498..2755fd83a82 100644
--- a/llvm/lib/Support/regcomp.c
+++ b/llvm/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;
OpenPOWER on IntegriCloud