From b20fdf5dde22b5153d95e782dbd60802daaf6287 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 7 Nov 2006 00:55:24 +0000 Subject: more compiler warning fixes and a new version number git-svn-id: svn://localhost/ardour2/trunk@1085 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/utils.cc | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3