summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/util_sock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index bb14c5d885..5a658bcad3 100644
--- a/source3/lib/util_sock.c
+++ b/source3/lib/util_sock.c
@@ -655,7 +655,6 @@ ssize_t write_data_iov(int fd, const struct iovec *orig_iov, int iovcnt)
ssize_t write_data(int fd, const char *buffer, size_t N)
{
- ssize_t ret;
struct iovec iov;
iov.iov_base = CONST_DISCARD(void *, buffer);