2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

fdinfo: Remove unused variables from receive_fd

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Pavel Emelyanov
2012-01-16 19:18:31 +04:00
committed by Cyrill Gorcunov
parent a2d5b88150
commit 7f5da73198

View File

@@ -407,10 +407,7 @@ static int recv_fd(int sock)
static int receive_fd(int pid, struct fdinfo_entry *fe, struct fdinfo_desc *fi)
{
int tmp, fd;
int sock;
struct sockaddr_un saddr;
socklen_t address_length;
int tmp;
if (fi->pid == pid) {
tmp = dup2(fi->addr, fe->addr);