Skip to content
Commit 27994548 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Pavel Emelyanov
Browse files

restore: move pid variable to local scope



cr-restore.c:1516:9: warning: Value stored to 'pid' during its initialization is never read
                pid_t pid = item->pid.real;
                      ^~~   ~~~~~~~~~~~~~~
cr-restore.c:1570:9: warning: Value stored to 'pid' during its initialization is never read
                pid_t pid = item->pid.real;
                      ^~~   ~~~~~~~~~~~~~~

Signed-off-by: default avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 8ea1bee4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment