Re: [Qemu-devel] [PATCH 3/6] spice: fix coverity complains

2016-05-09 Thread Gonglei (Arei)
Hi Gerd, Pls pick this one, thanks :) Regards, -Gonglei > -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Thursday, March 03, 2016 7:19 PM > To: Gonglei (Arei); qemu-devel@nongnu.org > Cc: qemu-triv...@nongnu.org > Subject: Re: [PATCH 3/6] spice: fix coveri

Re: [Qemu-devel] [PATCH 3/6] spice: fix coverity complains

2016-03-03 Thread Paolo Bonzini
On 03/03/2016 10:43, Gonglei wrote: > Remove the unnecessary NULL check. > > Signed-off-by: Gonglei > --- > ui/spice-display.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/ui/spice-display.c b/ui/spice-display.c > index 242ab5f..1ffbec1 100644 > --- a/ui/spice-d

[Qemu-devel] [PATCH 3/6] spice: fix coverity complains

2016-03-03 Thread Gonglei
Remove the unnecessary NULL check. Signed-off-by: Gonglei --- ui/spice-display.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/spice-display.c b/ui/spice-display.c index 242ab5f..1ffbec1 100644 --- a/ui/spice-display.c +++ b/ui/spice-display.c @@ -769,9 +769,7 @@ stat