af_unix: remove unused variable

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2019-07-09 17:19:29 +02:00
parent 637996a4c3
commit b9dab9ef8f
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -219,7 +219,6 @@ static int lxc_abstract_unix_recv_fds_iov(int fd, int *recvfds, int num_recvfds,
int ret; int ret;
struct msghdr msg; struct msghdr msg;
struct cmsghdr *cmsg = NULL; struct cmsghdr *cmsg = NULL;
char buf[1] = {0};
size_t cmsgbufsize = CMSG_SPACE(sizeof(struct ucred)) + size_t cmsgbufsize = CMSG_SPACE(sizeof(struct ucred)) +
CMSG_SPACE(num_recvfds * sizeof(int)); CMSG_SPACE(num_recvfds * sizeof(int));