projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad5b153
)
Fix some possible-use-of-uninitialized warnings.
author
Daniel Dunbar
<daniel@zuster.org>
Sun, 30 Aug 2009 21:13:58 +0000
(21:13 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sun, 30 Aug 2009 21:13:58 +0000
(21:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80515
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/regcomp.c
patch
|
blob
|
history
diff --git
a/lib/Support/regcomp.c
b/lib/Support/regcomp.c
index 4fd88b1249872b7904f2b49bb8ea86c74f60b0be..2755fd83a82208a8affa476d47ea0e5577a74d4b 100644
(file)
--- 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;