diff options
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r-- | libs/ardour/utils.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc index d6c767de12..5196403323 100644 --- a/libs/ardour/utils.cc +++ b/libs/ardour/utils.cc @@ -448,6 +448,7 @@ ARDOUR::string_to_auto_style (std::string str) fatal << string_compose (_("programming error: %1 %2"), "illegal AutoStyle string: ", str) << endmsg; /*NOTREACHED*/ + return Trim; } string @@ -463,6 +464,10 @@ ARDOUR::auto_style_to_string (AutoStyle as) return X_("Trim"); break; } + + fatal << string_compose (_("programming error: %1 %2"), "illegal AutoStyle type: ", as) << endmsg; + /*NOTREACHED*/ + return ""; } extern "C" { |