From e3b681b76d976be03d77f6c240281b0691cd6352 Mon Sep 17 00:00:00 2001 From: Mike Solomon Date: Fri, 29 Jul 2011 00:03:17 +0200 Subject: [PATCH] Fixes uninitialized value in page-layout-problem.cc. --- lily/page-layout-problem.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lily/page-layout-problem.cc b/lily/page-layout-problem.cc index 7445d21f62..17c2912e14 100644 --- a/lily/page-layout-problem.cc +++ b/lily/page-layout-problem.cc @@ -138,7 +138,7 @@ Page_layout_problem::get_footnotes_from_lines (SCM lines, int counter, Paper_boo } // find the maximum X_AXIS length - Real max_length; + Real max_length = -infinity_f; for (vsize i = 0; i < fn_count; i++) max_length = max (max_length, footnote_number_stencils[i]->extent (X_AXIS).length ()); -- 2.39.2