diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-02-18 23:08:52 -0500 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-02-18 23:08:52 -0500 |
commit | d784c94d2b2d4664dad6a1f881c85169ab457288 (patch) | |
tree | 77bad8167d19855348b8111ed7b29df007062418 /elaborate.cxx | |
parent | 1a0264b672725e7f770c27bb60636eb4588315b6 (diff) | |
download | systemtap-steved-d784c94d2b2d4664dad6a1f881c85169ab457288.tar.gz systemtap-steved-d784c94d2b2d4664dad6a1f881c85169ab457288.tar.xz systemtap-steved-d784c94d2b2d4664dad6a1f881c85169ab457288.zip |
PR9719: uninitialized variable fix
Diffstat (limited to 'elaborate.cxx')
-rw-r--r-- | elaborate.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elaborate.cxx b/elaborate.cxx index 25c52c33..0a00ebf2 100644 --- a/elaborate.cxx +++ b/elaborate.cxx @@ -3987,7 +3987,7 @@ typeresolution_info::invalid (const token* tok, exp_type pe) void typeresolution_info::mismatch (const token* tok, exp_type t1, exp_type t2) { - bool tok_resolved; + bool tok_resolved = false; size_t i; semantic_error* err1 = 0; num_still_unresolved ++; @@ -4018,7 +4018,7 @@ typeresolution_info::mismatch (const token* tok, exp_type t1, exp_type t2) } else { - bool tok_printed; + bool tok_printed = false; for (size_t j=0; j<printed_toks.size(); j++) { if (printed_toks[j] == resolved_toks[i]) |