summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2014-11-02 23:14:00 +0100
committerPeter Meerwald <pmeerw@pmeerw.net>2014-11-09 22:38:29 +0100
commitea5cbec0b76d847a88f19ad7862fc195b9e59401 (patch)
tree0e1b084b0adaa1cfca9990f2199520750de43108
parent8bbdae0ae879eb15999b6b38bc21fc7c9ceff012 (diff)
downloadpulseaudio-ea5cbec0b76d847a88f19ad7862fc195b9e59401.tar.gz
iochannel: Remove unnecessary zero-initialization
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
-rw-r--r--src/pulsecore/iochannel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pulsecore/iochannel.c b/src/pulsecore/iochannel.c
index ae9b42cf2..93cd0fd41 100644
--- a/src/pulsecore/iochannel.c
+++ b/src/pulsecore/iochannel.c
@@ -412,11 +412,9 @@ ssize_t pa_iochannel_read_with_ancil_data(pa_iochannel*io, void*data, size_t l,
return pa_iochannel_read(io, data, l);
}
- pa_zero(iov);
iov.iov_base = data;
iov.iov_len = l;
- pa_zero(cmsg);
pa_zero(mh);
mh.msg_iov = &iov;
mh.msg_iovlen = 1;