sdl2: add assert to make coverity happy
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 21 Jun 2017 12:22:34 +0000 (14:22 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 23 Jun 2017 09:50:46 +0000 (11:50 +0200)
commit85970a627f308483053f18a342037245d0fee469
tree3399184e8e2513b8d5af5ea6f1dac3eaa674c4d8
parent51dbea77a29ea46173373a6dad4ebd95d4661f42
sdl2: add assert to make coverity happy

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 <kraxel@redhat.com>
Message-id: 20170621122234.12751-1-kraxel@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/sdl2.c