]> git.proxmox.com Git - mirror_qemu.git/commit
ui: remove check for failure of qemu_acl_init()
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 1 May 2015 10:44:46 +0000 (11:44 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 20 May 2015 08:23:08 +0000 (10:23 +0200)
commit2b2c1a38eeaba5d8bfe92281e9e680361e09ee3b
treee41b8764c5e29ca94a6f5d2810485d082c9c0355
parent274c3b52e10466a4771d591f6298ef61e8354ce0
ui: remove check for failure of qemu_acl_init()

The qemu_acl_init() function has long since stopped being able
to return NULL, since g_malloc will abort on OOM. As such the
checks for NULL were unreachable code.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/vnc.c