summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-11-07 00:55:24 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-11-07 00:55:24 +0000
commitb20fdf5dde22b5153d95e782dbd60802daaf6287 (patch)
tree8081094d533a1b174334e99262358c97cab6cf9f
parentf4d1fa1d9e0a2d3a95dcb16a3986fe54d46797ca (diff)
more compiler warning fixes and a new version number
git-svn-id: svn://localhost/ardour2/trunk@1085 d708f5d6-7413-0410-9779-e7cbd77b26cf
-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