mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-22 09:39:13 +00:00
sockets: Drop unused variables
Otherwise I get | sockets.c: In function ‘dump_socket’: | sockets.c:467: error: ‘st.st_ino’ may be used uninitialized in this function Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
766bbf1631
commit
fca43c1abe
1 changed files with 1 additions and 4 deletions
|
|
@ -458,13 +458,10 @@ err:
|
|||
int dump_socket(struct fd_parms *p, int lfd, const struct cr_fdset *cr_fdset)
|
||||
{
|
||||
struct socket_desc *sk;
|
||||
struct statfs fst;
|
||||
struct stat st;
|
||||
char path[64];
|
||||
|
||||
sk = lookup_socket(p->stat.st_ino);
|
||||
if (!sk) {
|
||||
pr_err("Uncollected socket %ld\n", st.st_ino);
|
||||
pr_err("Uncollected socket %ld\n", p->stat.st_ino);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue