diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/040brace | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/040brace b/cpp/040brace index d01fe359..174335af 100644 --- a/cpp/040brace +++ b/cpp/040brace @@ -149,7 +149,7 @@ void transform_braces(const recipe_number r) { } size_t matching_brace(size_t index, const list<pair<int, size_t> >& braces) { - int stacksize; + int stacksize = 0; for (list<pair<int, size_t> >::const_iterator p = braces.begin(); p != braces.end(); ++p) { if (p->second < index) continue; stacksize += (p->first ? 1 : -1); |