Browse Source

Try to fix optimized build

tags/1.9.4
falkTX 10 years ago
parent
commit
fdc99c81df
1 changed files with 8 additions and 4 deletions
  1. +8
    -4
      source/utils/CarlaPipeUtils.hpp

+ 8
- 4
source/utils/CarlaPipeUtils.hpp View File

@@ -235,7 +235,8 @@ public:
return; return;


try { try {
::write(fPipeSend, "quit\n", 5);
ssize_t ignore = ::write(fPipeSend, "quit\n", 5);
(void)ignore;
} catch (...) {} } catch (...) {}


waitChildClose(); waitChildClose();
@@ -362,7 +363,8 @@ public:
CARLA_SAFE_ASSERT_RETURN(fPipeSend != -1,); CARLA_SAFE_ASSERT_RETURN(fPipeSend != -1,);


try { try {
::write(fPipeSend, msg, std::strlen(msg));
ssize_t ignore = ::write(fPipeSend, msg, std::strlen(msg));
(void)ignore;
} catch (...) {} } catch (...) {}
} }


@@ -371,7 +373,8 @@ public:
CARLA_SAFE_ASSERT_RETURN(fPipeSend != -1,); CARLA_SAFE_ASSERT_RETURN(fPipeSend != -1,);


try { try {
::write(fPipeSend, msg, size);
ssize_t ignore = ::write(fPipeSend, msg, size);
(void)ignore;
} catch (...) {} } catch (...) {}
} }


@@ -412,7 +415,8 @@ public:
} }


try { try {
::write(fPipeSend, fixedMsg, size+1);
ssize_t ignore = ::write(fPipeSend, fixedMsg, size+1);
(void)ignore;
} catch (...) {} } catch (...) {}
} }




Loading…
Cancel
Save