summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/utils.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc
index 5196403323..269a78bf4b 100644
--- a/libs/ardour/utils.cc
+++ b/libs/ardour/utils.cc
@@ -415,6 +415,7 @@ ARDOUR::string_to_auto_state (std::string str)
fatal << string_compose (_("programming error: %1 %2"), "illegal AutoState string: ", str) << endmsg;
/*NOTREACHED*/
+ return Touch;
}
string
@@ -435,6 +436,10 @@ ARDOUR::auto_state_to_string (AutoState as)
case Touch:
return X_("Touch");
}
+
+ fatal << string_compose (_("programming error: %1 %2"), "illegal AutoState type: ", as) << endmsg;
+ /*NOTREACHED*/
+ return "";
}
AutoStyle