From 6fe3bfe6df611a698314add3c16e81ed3ecfb05b Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Mon, 29 Oct 2012 17:32:32 +0530 Subject: [PATCH] core: Fix warning on non-win32 builds --- src/pulsecore/core-util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c index d8d44a7ce..f1711646a 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) {