Re: [Qemu-devel] [PATCH 11/22] qcow2: remove useless NULL check

2017-02-06 Thread Paolo Bonzini
On 02/02/2017 15:51, Marc-André Lureau wrote: > g_strdup() already handles the case where the argument is NULL. > > Signed-off-by: Marc-André Lureau > --- > block/qcow2.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/block/qcow2.c b/block/qcow2.c > index 96fb8a8

[Qemu-devel] [PATCH 11/22] qcow2: remove useless NULL check

2017-02-02 Thread Marc-André Lureau
g_strdup() already handles the case where the argument is NULL. Signed-off-by: Marc-André Lureau --- block/qcow2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/qcow2.c b/block/qcow2.c index 96fb8a8f16..9114218030 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@