summaryrefslogtreecommitdiff
path: root/libs/ardour/system_exec.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-08-19 04:07:39 +0200
committerRobin Gareus <robin@gareus.org>2015-08-19 04:07:39 +0200
commitcf1ab3391f374e45557bb6bf57036bf3ec6d2d90 (patch)
treecd9df5d4bbbf71cedb1327278721eae4d40916c3 /libs/ardour/system_exec.cc
parenta2fbce0e7f31bdebf59bcea5282b4909c9e19837 (diff)
code consistency and hints for static analysis
Diffstat (limited to 'libs/ardour/system_exec.cc')
-rw-r--r--libs/ardour/system_exec.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/system_exec.cc b/libs/ardour/system_exec.cc
index d83165252a..b85b2347ae 100644
--- a/libs/ardour/system_exec.cc
+++ b/libs/ardour/system_exec.cc
@@ -41,8 +41,7 @@ static char *vfork_exec_wrapper_path() {
),
"ardour-exec-wrapper", vfork_exec_wrapper)) {
PBD::fatal << "vfork exec wrapper 'ardour-exec-wrapper' was not found in $PATH." << endmsg;
- /* not reached */
- return NULL;
+ abort(); /*NOTREACHED*/
}
return strdup(vfork_exec_wrapper.c_str());
#endif