summaryrefslogtreecommitdiff
path: root/lib/libsndio
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-07-21 23:00:17 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-07-21 23:00:17 +0000
commit4c6652f3c4c79a8ab85857e546d81b3a32c0fefc (patch)
treecb7dc5b363da8a3efc92d163971250dd5e2ad3b9 /lib/libsndio
parentc7f78a45ee319440c0f9b450616c6055a6f0128a (diff)
remove unnecessary ``return 0'' statements,
from Remco <remco at d-compu.dyndns.org>, thanks!
Diffstat (limited to 'lib/libsndio')
-rw-r--r--lib/libsndio/mio_rmidi.c3
-rw-r--r--lib/libsndio/mio_thru.c3
-rw-r--r--lib/libsndio/sun.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/lib/libsndio/mio_rmidi.c b/lib/libsndio/mio_rmidi.c
index 05b11c03240..194863ca070 100644
--- a/lib/libsndio/mio_rmidi.c
+++ b/lib/libsndio/mio_rmidi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mio_rmidi.c,v 1.6 2010/04/24 06:15:54 ratchov Exp $ */
+/* $OpenBSD: mio_rmidi.c,v 1.7 2010/07/21 23:00:16 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -136,7 +136,6 @@ rmidi_write(struct mio_hdl *sh, const void *buf, size_t len)
if (errno != EAGAIN) {
DPERROR("rmidi_write: write");
hdl->mio.eof = 1;
- return 0;
}
return 0;
}
diff --git a/lib/libsndio/mio_thru.c b/lib/libsndio/mio_thru.c
index 7ce4853dd7b..24c84ea26a6 100644
--- a/lib/libsndio/mio_thru.c
+++ b/lib/libsndio/mio_thru.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mio_thru.c,v 1.9 2010/07/06 01:12:45 ratchov Exp $ */
+/* $OpenBSD: mio_thru.c,v 1.10 2010/07/21 23:00:16 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -226,7 +226,6 @@ thru_write(struct mio_hdl *sh, const void *buf, size_t len)
if (errno != EAGAIN) {
DPERROR("thru_write: write");
hdl->mio.eof = 1;
- return 0;
}
return 0;
}
diff --git a/lib/libsndio/sun.c b/lib/libsndio/sun.c
index 9f603d890d6..914fd5d1d01 100644
--- a/lib/libsndio/sun.c
+++ b/lib/libsndio/sun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sun.c,v 1.38 2010/07/15 03:43:11 jakemsr Exp $ */
+/* $OpenBSD: sun.c,v 1.39 2010/07/21 23:00:16 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -866,7 +866,6 @@ sun_write(struct sio_hdl *sh, const void *buf, size_t len)
if (errno != EAGAIN) {
DPERROR("sun_write: write");
hdl->sio.eof = 1;
- return 0;
}
return 0;
}