]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/note-column.cc
Initialize main_head to 0 (in Note_column::calc_main_extent)
[lilypond.git] / lily / note-column.cc
index 760e37dc1956c045d51d3250bee9fad5269ee73b..73b138757189d839ea510d86ef8d0a88ac116804 100644 (file)
@@ -164,7 +164,7 @@ Note_column::first_head (Grob *me)
 Interval
 Note_column::calc_main_extent (Grob *me)
 {
-    Grob *main_head;
+    Grob *main_head = 0;
     if (get_stem (me))
         main_head = first_head (me);
     else