From: Mike Solomon Date: Thu, 5 Jan 2012 10:09:03 +0000 (+0100) Subject: Removes dupliacte test in Grob::internal_vertical_less X-Git-Tag: release/2.15.24-1~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5ef52f91044dcb8e6a22fb13cf7560d6ffb8113c;p=lilypond.git Removes dupliacte test in Grob::internal_vertical_less --- diff --git a/lily/grob.cc b/lily/grob.cc index d36a672130..f385ed89f5 100644 --- a/lily/grob.cc +++ b/lily/grob.cc @@ -658,13 +658,12 @@ bool Grob::internal_vertical_less (Grob *g1, Grob *g2, bool pure) { Grob *vag = get_root_vertical_alignment (g1); - if (!vag) - return false; if (!vag) { g1->programming_error ("grob does not belong to a VerticalAlignment?"); return false; } + Grob *ag1 = get_vertical_axis_group (g1); Grob *ag2 = get_vertical_axis_group (g2);