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:
Andrey Vagin 2013-04-03 21:31:10 +04:00 committed by Pavel Emelyanov
parent e08562c277
commit 0ebc4f058c

View file

@ -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)