summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-08 16:14:54 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-08 16:14:54 +0000
commit6e4ed8ca5f80ab09a986abe06ad187d87319566b (patch)
treee8b191da53a5bc6bf6b8f2f62191c3fefa8647c0
parent40d204fc8317b6bdaa64ab01b6d93aff2dae1c44 (diff)
downloadbcm5719-llvm-6e4ed8ca5f80ab09a986abe06ad187d87319566b.tar.gz
bcm5719-llvm-6e4ed8ca5f80ab09a986abe06ad187d87319566b.zip
Fix may-be-used-uninitialized warning.
llvm-svn: 81223
-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 16ca8d3f75c..cd018d5dc5b 100644
--- a/llvm/lib/Support/regcomp.c
+++ b/llvm/lib/Support/regcomp.c
@@ -257,8 +257,8 @@ static void
p_ere(struct parse *p, int stop) /* character this ERE should end at */
{
char c;
- sopno prevback;
- sopno prevfwd;
+ sopno prevback = 0;
+ sopno prevfwd = 0;
sopno conc;
int first = 1; /* is this the first alternative? */
OpenPOWER on IntegriCloud