diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-29 20:40:52 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-06-29 20:40:52 +0000 |
commit | dbf3ba2d73dfa2b3230ff5829e4a4a49c7c5ba5f (patch) | |
tree | d8511ecc93e977ca7afe03bd2a950add779f4aab /libs/ardour/butler.cc | |
parent | 501db4747bd00a5f4ff8664a1375b93e3ea2c367 (diff) |
allow zero-length SMF files on disk again; fix some gcc 4.X optimization-on compile warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@7329 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/butler.cc')
-rw-r--r-- | libs/ardour/butler.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/butler.cc b/libs/ardour/butler.cc index 1efca35196..3b717942f3 100644 --- a/libs/ardour/butler.cc +++ b/libs/ardour/butler.cc @@ -127,7 +127,7 @@ Butler::terminate_thread () if (thread) { void* status; const char c = Request::Quit; - ::write (request_pipe[1], &c, 1); + (void) ::write (request_pipe[1], &c, 1); pthread_join (thread, &status); } } @@ -383,7 +383,7 @@ void Butler::summon () { char c = Request::Run; - ::write (request_pipe[1], &c, 1); + (void) ::write (request_pipe[1], &c, 1); } void @@ -391,7 +391,7 @@ Butler::stop () { Glib::Mutex::Lock lm (request_lock); char c = Request::Pause; - ::write (request_pipe[1], &c, 1); + (void) ::write (request_pipe[1], &c, 1); paused.wait(request_lock); } @@ -400,7 +400,7 @@ Butler::wait_until_finished () { Glib::Mutex::Lock lm (request_lock); char c = Request::Wake; - ::write (request_pipe[1], &c, 1); + (void) ::write (request_pipe[1], &c, 1); paused.wait(request_lock); } |