]> git.donarmstrong.com Git - lilypond.git/commitdiff
FiguredBass: After checking for 0, we know alignment_ is not 0...
authorReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 17 Feb 2010 13:53:50 +0000 (14:53 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 22 Feb 2010 17:52:56 +0000 (18:52 +0100)
lily/figured-bass-engraver.cc

index ea1e979ab31d6c417e6c5387d230e6b96bcf4f2c..61b6fa2f8236594626f1c835983fe960bde5d1d5 100644 (file)
@@ -252,11 +252,8 @@ Figured_bass_engraver::clear_spanners ()
   if (!alignment_)
     return;
 
-  if (alignment_)
-    {
-      announce_end_grob (alignment_, SCM_EOL);
-      alignment_ = 0;
-    }
+  announce_end_grob (alignment_, SCM_EOL);
+  alignment_ = 0;
 
   if (to_boolean (get_property ("figuredBassCenterContinuations")))
     center_repeated_continuations ();