curses: assert get_wch return value is okay
commit68097ed5e5bd5bc5bfead8076dbef700a8537b15
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Jul 2019 12:01:04 +0000 (18 14:01 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 21 Aug 2019 09:19:40 +0000 (21 11:19 +0200)
treeb94958c13ab1c43c6ba03eb40c6147702c7c040f
parent17dc57990320edaad52ac9ea808be9719c91cea6
curses: assert get_wch return value is okay

This prevents the compiler from reporting a possible uninitialized use
of maybe_keycode in function curses_refresh.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1563451264-46176-1-git-send-email-pbonzini@redhat.com

[ kraxel: whitespace fixup ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/curses.c