diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index 6c687de56c..092a17fd55 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -832,8 +832,8 @@ LuaBindings::common (lua_State* L) .endClass () .beginClass ("TempoMap") - .addFunction ("add_tempo", &TempoMap::add_tempo) - .addFunction ("add_meter", &TempoMap::add_meter) + //.addFunction ("add_tempo", &TempoMap::add_tempo) + //.addFunction ("add_meter", &TempoMap::add_meter) .endClass () .beginClass ("ChanCount") diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc index 8c710ad180..07343e0a69 100644 --- a/libs/ardour/tempo.cc +++ b/libs/ardour/tempo.cc @@ -79,7 +79,7 @@ TempoSection::TempoSection (const XMLNode& node) , _active (true) , _locked_to_meter (false) { - const XMLProperty *prop; + XMLProperty const * prop; LocaleGuard lg; BBT_Time bbt; double pulse; @@ -456,9 +456,7 @@ MeterSection::MeterSection (const XMLNode& node) : MetricSection (0.0), Meter (TempoMap::default_meter()) { XMLProperty const * prop; - BBT_Time start; LocaleGuard lg; - const XMLProperty *prop; BBT_Time bbt; double pulse = 0.0; double beat = 0.0;