OSDN Git Service

ui/console: new_console() cannot fail
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 30 Aug 2023 09:37:44 +0000 (13:37 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 4 Sep 2023 08:37:54 +0000 (12:37 +0400)
commitdc6984bdc3ebe5357b0c1d983ba4e7689a985f2e
tree0a05bdc9089a4eebefced6eb1f23785bd6bfdd95
parent2fd319cff0ffbc0b54a61a2a34775ec40836e4c4
ui/console: new_console() cannot fail

There is no code path that could allow a NULL return there.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230830093843.3531473-11-marcandre.lureau@redhat.com>
ui/console.c