fix gcc4.4 compile warning
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 1 Jul 2010 15:01:25 +0000 (15:01 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 1 Jul 2010 15:01:25 +0000 (15:01 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7346 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/pbd/crossthread.cc

index 7ccf7413806a07408200b068d73be0afbc4ca3c4..12ca19b945097d3cb2e1390da8bd916aa606b432 100644 (file)
@@ -72,7 +72,7 @@ void
 CrossThreadChannel::wakeup ()
 {
        char c = 0;
-       ::write (fds[1], &c, 1);
+       (void) ::write (fds[1], &c, 1);
 }
 
 RefPtr<IOSource>