Fix warning produced by clang++

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-09-04 04:40:43 -07:00
parent 57c0c69872
commit 00bee9c96e

View file

@ -928,7 +928,7 @@ class pp_fn {
lean_assert(is_choice(e));
unsigned num = get_num_choices(e);
format r_format;
unsigned r_weight;
unsigned r_weight = 0;
for (unsigned i = 0; i < num; i++) {
if (i > 0)
r_format += format{space(), format("|"), line()};