From: Werner Lemberg Date: Tue, 23 Dec 2008 08:56:17 +0000 (+0100) Subject: Remove unused variable. X-Git-Tag: release/2.12.1-1~45 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=13668244ecb88fdcc71c4b9bbdf29073216767d0;p=lilypond.git Remove unused variable. --- diff --git a/lily/bar-line.cc b/lily/bar-line.cc index 18ad550e92..f13d8697c3 100644 --- a/lily/bar-line.cc +++ b/lily/bar-line.cc @@ -200,7 +200,7 @@ Bar_line::compound_barline (Grob *me, string str, Real h, } else if (str == "'") { - m = tick_bar_line (me, hair, h, rounded); + m = tick_bar_line (me, h, rounded); } else if (str == ".") { @@ -227,7 +227,7 @@ Bar_line::simple_barline (Grob *me, } Stencil -Bar_line::tick_bar_line (Grob *me, Real w, Real h, bool rounded) +Bar_line::tick_bar_line (Grob *me, Real h, bool rounded) { Real th = Staff_symbol_referencer::staff_space (me) / 2; Real line_thick = Staff_symbol_referencer::line_thickness (me); diff --git a/lily/include/bar-line.hh b/lily/include/bar-line.hh index 43db11e9c9..1ae1b59ae7 100644 --- a/lily/include/bar-line.hh +++ b/lily/include/bar-line.hh @@ -16,7 +16,7 @@ public: DECLARE_GROB_INTERFACE(); static Stencil dashed_bar_line (Grob *me, Real h, Real thick); - static Stencil tick_bar_line (Grob *me, Real w, Real h, bool rounded); + static Stencil tick_bar_line (Grob *me, Real h, bool rounded); static Stencil compound_barline (Grob *, string, Real height, bool rounded); static Stencil simple_barline (Grob *, Real wid, Real height, bool rounded); static Interval bar_y_extent (Grob *, Grob *);