mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-02 07:15:31 +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:
committed by
Cyrill Gorcunov
parent
a2d5b88150
commit
7f5da73198
5
files.c
5
files.c
@@ -407,10 +407,7 @@ static int recv_fd(int sock)
|
|||||||
|
|
||||||
static int receive_fd(int pid, struct fdinfo_entry *fe, struct fdinfo_desc *fi)
|
static int receive_fd(int pid, struct fdinfo_entry *fe, struct fdinfo_desc *fi)
|
||||||
{
|
{
|
||||||
int tmp, fd;
|
int tmp;
|
||||||
int sock;
|
|
||||||
struct sockaddr_un saddr;
|
|
||||||
socklen_t address_length;
|
|
||||||
|
|
||||||
if (fi->pid == pid) {
|
if (fi->pid == pid) {
|
||||||
tmp = dup2(fi->addr, fe->addr);
|
tmp = dup2(fi->addr, fe->addr);
|
||||||
|
Reference in New Issue
Block a user