Am 27.11.2020 um 15:45 hat Vladimir Sementsov-Ogievskiy geschrieben: > Split part of bdrv_replace_node_common() to be used separately. > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>
> @@ -4909,7 +4936,6 @@ static int bdrv_replace_node_common(BlockDriverState > *from, > bool auto_skip, Error **errp) > { > int ret = -EPERM; > - BdrvChild *c, *next; > GSList *tran = NULL; > g_autoptr(GHashTable) found = NULL; > g_autoptr(GSList) refresh_list = NULL; ret doesn't need to be initialised any more now. Kevin