From: Christian Brauner Date: Tue, 9 Jul 2019 15:19:29 +0000 (+0200) Subject: af_unix: remove unused variable X-Git-Tag: lxc-3.2.0~9^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3080%2Fhead;p=thirdparty%2Flxc.git af_unix: remove unused variable Signed-off-by: Christian Brauner --- diff --git a/src/lxc/af_unix.c b/src/lxc/af_unix.c index 2ff98dc1b..c790e3a24 100644 --- a/src/lxc/af_unix.c +++ b/src/lxc/af_unix.c @@ -219,7 +219,6 @@ static int lxc_abstract_unix_recv_fds_iov(int fd, int *recvfds, int num_recvfds, int ret; struct msghdr msg; struct cmsghdr *cmsg = NULL; - char buf[1] = {0}; size_t cmsgbufsize = CMSG_SPACE(sizeof(struct ucred)) + CMSG_SPACE(num_recvfds * sizeof(int));