summaryrefslogtreecommitdiff
path: root/libs/ardour/session_command.cc
diff options
context:
space:
mode:
authorJohn Anderson <ardour@semiosix.com>2007-02-14 21:55:07 +0000
committerJohn Anderson <ardour@semiosix.com>2007-02-14 21:55:07 +0000
commit1d2ccabfd7c7b5631871b1b7960ea772bc0772ff (patch)
treeff7751ec4a329ef406db3ceb11886fac2fd10bf1 /libs/ardour/session_command.cc
parente878b365193ad9315e557a8245b767d8a0fe568d (diff)
remove meterstr = "" and replace with fatal <<
git-svn-id: svn://localhost/ardour2/trunk@1461 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_command.cc')
-rw-r--r--libs/ardour/session_command.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/session_command.cc b/libs/ardour/session_command.cc
index 91e3fb436f..8c64f9764a 100644
--- a/libs/ardour/session_command.cc
+++ b/libs/ardour/session_command.cc
@@ -404,7 +404,8 @@ Session::GlobalMeteringStateCommand::get_state()
case MeterPostFader:
meterstr = X_("post");
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);