summaryrefslogtreecommitdiffstats
path: root/elaborate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'elaborate.cxx')
-rw-r--r--elaborate.cxx4
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])