remove meterstr = "" and replace with fatal <<
git-svn-id: svn://localhost/ardour2/trunk@1461 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e878b36519
commit
1d2ccabfd7
@ -404,7 +404,8 @@ Session::GlobalMeteringStateCommand::get_state()
|
|||||||
case MeterPostFader:
|
case MeterPostFader:
|
||||||
meterstr = X_("post");
|
meterstr = X_("post");
|
||||||
break;
|
break;
|
||||||
default: meterstr = "";
|
default:
|
||||||
|
fatal << string_compose (_("programming error: %1") , "no meter state in Session::GlobalMeteringStateCommand::get_state") << endmsg;
|
||||||
}
|
}
|
||||||
|
|
||||||
child->add_property (X_("meter"), meterstr);
|
child->add_property (X_("meter"), meterstr);
|
||||||
|
Loading…
Reference in New Issue
Block a user