From a562e5f7f2c9c10bfabb100efa15783260573f39 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 2 May 2012 20:33:39 +0000 Subject: [PATCH] another quick OS X Lion gcc suggestion git-svn-id: svn://localhost/ardour2/branches/3.0@12149 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/crossthread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pbd/crossthread.cc b/libs/pbd/crossthread.cc index 553c8d52f3..2ffede5163 100644 --- a/libs/pbd/crossthread.cc +++ b/libs/pbd/crossthread.cc @@ -104,7 +104,7 @@ CrossThreadChannel::drain (int fd) { /* drain selectable fd */ char buf[64]; - while (::read (fd, buf, sizeof (buf)) > 0); + while (::read (fd, buf, sizeof (buf)) > 0) {}; } int