X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fsystem_exec.cc;h=aec89564223511a08834ca51b2e180850d16e010;hb=4cab03887ccc311e2b195c81703811c1cb6aeb1b;hp=6ee6d809e083adfaf4679e3e0bb41c0e0309da0a;hpb=5aba4df25276c0cb45bb06169f37f7b14a95ecb9;p=ardour.git diff --git a/libs/ardour/system_exec.cc b/libs/ardour/system_exec.cc index 6ee6d809e0..aec8956422 100644 --- a/libs/ardour/system_exec.cc +++ b/libs/ardour/system_exec.cc @@ -25,11 +25,9 @@ #include "ardour/filesystem_paths.h" #include "ardour/system_exec.h" -using namespace ARDOUR; +namespace ARDOUR { -#ifndef PLATFORM_WINDOWS char * SystemExec::_vfork_exec_wrapper = NULL; -#endif static char *vfork_exec_wrapper_path() { #ifdef PLATFORM_WINDOWS @@ -43,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 @@ -81,3 +78,5 @@ SystemExec::SystemExec (std::string c, const std::map subs) } SystemExec::~SystemExec() { } + +} // namespace ARDOUR