qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ui/gtk: Remove NULL checks in gd_switch


From: Gerd Hoffmann
Subject: Re: [PATCH] ui/gtk: Remove NULL checks in gd_switch
Date: Tue, 9 Mar 2021 10:51:59 +0100

On Mon, Mar 08, 2021 at 11:07:13PM +0900, Akihiko Odaki wrote:
> c821a58ee7 ("ui/console: Pass placeholder surface to display")
> eliminated the possibility that NULL is passed as surface to
> dpy_gfx_switch and removed some NULL checks from gd_switch, but the
> removal was not thoroughly. Remaining NULL checks were confusing for
> Coverity and probably also for humans. This change removes those NULL
> checks.
> 
> Reported-by: Coverity (CID 1448421)
> Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>

Added to UI queue.

thanks,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]