X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Frequest-chord-iterator.cc;h=79df69f6daefd86727f066e54561ea55ff86499b;hb=0af6d4cb04fa3e4aa69a7aecb76034e4cb1ec49b;hp=aaeeeecac7bcb5427fad13d5c56aa341d839d8e3;hpb=ef0696c47e7b5e3f7f2b018bca3d9eaef62439b0;p=lilypond.git diff --git a/lily/request-chord-iterator.cc b/lily/request-chord-iterator.cc index aaeeeecac7..79df69f6da 100644 --- a/lily/request-chord-iterator.cc +++ b/lily/request-chord-iterator.cc @@ -71,15 +71,9 @@ Request_chord_iterator::process (Moment m) { Music *mus = unsmob_music (gh_car (s)); - if (Request * req_l = dynamic_cast (mus)) - { - bool gotcha = try_music (req_l); - if (!gotcha) - req_l->origin ()->warning (_f ("Junking request: `%s'", classname( req_l))); - } - else - mus->origin ()->warning (_f ("Huh? Not a Request: `%s'", - classname (mus))); + bool gotcha = try_music (mus); + if (!gotcha) + mus->origin ()->warning (_f ("Junking request: `%s'", classname(mus))); } } skip (m);