2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 13:58:34 +00:00

Fix 'mnt_path' may be used uninitialized in this function

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
MATSUMOTO, Ryosuke
2015-12-24 18:49:00 +09:00
committed by Pavel Emelyanov
parent 7f75e74ae7
commit b64159acdd

View File

@@ -2280,7 +2280,7 @@ static int do_bind_mount(struct mount_info *mi)
int exit_code = -1;
bool shared = false;
bool master = false;
char *mnt_path;
char *mnt_path = NULL;
struct stat st;
bool umount_mnt_path = false;