mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-22 17:49:13 +00:00
cr-restore: remove extra initialization of variables
cr-restore.c:1795:2: warning: Value stored to 'restore_task_vma_len' is
never read
restore_task_vma_len = 0;
^ ~
cr-restore.c:1796:2: warning: Value stored to 'restore_thread_vma_len'
is never read
restore_thread_vma_len = 0;
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
e08562c277
commit
0ebc4f058c
1 changed files with 0 additions and 3 deletions
|
|
@ -1792,9 +1792,6 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
|
|||
|
||||
pr_info("Restore via sigreturn\n");
|
||||
|
||||
restore_task_vma_len = 0;
|
||||
restore_thread_vma_len = 0;
|
||||
|
||||
ret = parse_smaps(pid, &self_vmas, false);
|
||||
close_proc();
|
||||
if (ret < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue