summaryrefslogtreecommitdiff
path: root/libs/pbd/crossthread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/crossthread.cc')
-rw-r--r--libs/pbd/crossthread.cc2
1 files changed, 1 insertions, 1 deletions
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