Re: [Qemu-devel] [PATCH] sdl2: add assert to make coverity happy

2017-06-23 Thread Stefan Hajnoczi
On Wed, Jun 21, 2017 at 02:22:34PM +0200, Gerd Hoffmann wrote: > There is a loop a few lines up counting consoles and setting > sdl2_num_outputs accordingly, so con ptr can't be NULL there. > > Signed-off-by: Gerd Hoffmann > --- > ui/sdl2.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: S

[Qemu-devel] [PATCH] sdl2: add assert to make coverity happy

2017-06-21 Thread Gerd Hoffmann
There is a loop a few lines up counting consoles and setting sdl2_num_outputs accordingly, so con ptr can't be NULL there. Signed-off-by: Gerd Hoffmann --- ui/sdl2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/sdl2.c b/ui/sdl2.c index f76ee1081f..53dd447fd2 100644 --- a/ui/sdl2.c +++