From 55c25d3fbd92cf20170cba16c3b8cc2616eb39f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benk=C5=91=20P=C3=A1l?= Date: Thu, 6 Jun 2013 22:46:41 +0200 Subject: [PATCH] cleanup - remove unused variable appearance - fix a copy'n'paste typo in comment - space before function call --- lily/completion-rest-engraver.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lily/completion-rest-engraver.cc b/lily/completion-rest-engraver.cc index 2d7dcfb8e5..6bd52d6e9a 100644 --- a/lily/completion-rest-engraver.cc +++ b/lily/completion-rest-engraver.cc @@ -119,7 +119,7 @@ Completion_rest_engraver::next_moment (Rational const ¬e_len) if (unit) { Rational const now_unit = e->main_part_ / unit->main_part_; - if (now_unit.den() > 1) + if (now_unit.den () > 1) { /* within a unit - go to the end of that @@ -178,19 +178,17 @@ Completion_rest_engraver::process_music () return; Duration rest_dur; - Duration appearance; Duration *orig = 0; if (left_to_do_) { /* - rest that rest_dur may be strictly less than left_to_do_ + note that rest_dur may be strictly less than left_to_do_ (say, if left_to_do_ == 5/8) */ if (factor_.denominator () == 1 && factor_ > Rational (1, 1)) rest_dur = Duration (left_to_do_, false); else rest_dur = Duration (left_to_do_ / factor_, false).compressed (factor_); - appearance = Duration (left_to_do_, false); } else { -- 2.39.5