[pulseaudio-commits] src/pulsecore

Arun Raghavan arun at kemper.freedesktop.org
Mon Oct 29 20:48:33 PDT 2012


 src/pulsecore/core-util.c |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 6fe3bfe6df611a698314add3c16e81ed3ecfb05b
Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
Date:   Mon Oct 29 17:32:32 2012 +0530

    core: Fix warning on non-win32 builds

diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index d8d44a7..f171164 100644
--- a/src/pulsecore/core-util.c
+++ b/src/pulsecore/core-util.c
@@ -415,9 +415,11 @@ ssize_t pa_write(int fd, const void *buf, size_t count, int *type) {
 
     if (!type || *type == 0) {
         ssize_t r;
+#ifdef OS_IS_WIN32
         int err;
 
 retry:
+#endif
         for (;;) {
             if ((r = send(fd, buf, count, MSG_NOSIGNAL)) < 0) {
 



More information about the pulseaudio-commits mailing list