On Sun, Jun 13, 2021 at 05:38:21PM +0800, Zhiwei Jiang wrote:
In the subject, s/waring/warning/
> when i compile this file with some error message
> ../block.c: In function ‘bdrv_replace_node_common’:
> ../block.c:4903:9: error: ‘to_cow_parent’ may be used
> uninitialized in this function [-Werro
gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC)
On Sun, 13 Jun 2021 at 15:20, Zhiwei Jiang wrote:
>
> when i compile this file with some error message
> ../block.c: In function ‘bdrv_replace_node_common’:
> ../block.c:4903:9: error: ‘to_cow_parent’ may be used
> uninitialized in this function [-Werror=maybe-uninitialized]
> bdrv_remove