]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/engraver-group.cc
release: 1.1.28
[lilypond.git] / lily / engraver-group.cc
index a255c4c5cd9aeb3b1552a1c86d2d14f550184d13..ab01127f61eaf6c3194f5ecbcfba4d9c26fcb9b8 100644 (file)
@@ -30,11 +30,9 @@ Engraver_group_engraver::do_announces()
   Link_array<Translator_group> groups = group_l_arr ();
   for (int i=0; i < groups.size(); i++) 
     {
-      Engraver * eng = dynamic_cast<Engraver*> (groups[i]);
-      if (eng)
+      Engraver_group_engraver * group = dynamic_cast<Engraver_group_engraver*> (groups[i]);
+      if (group)
        {
-         Engraver_group_engraver * group =
-           (Engraver_group_engraver*) eng;
          group->do_announces();
        }
     }