fix bypassing plugins with sidechain i/o
[ardour.git] / libs / ardour / system_exec.cc
index 6ee6d809e083adfaf4679e3e0bb41c0e0309da0a..b85b2347aebb76d9e8001f1a76d4914bc0dbb195 100644 (file)
@@ -27,9 +27,7 @@
 
 using 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