Re: [Qemu-devel] [PATCH] ui: remove check for failure of qemu_acl_init()

2015-05-05 Thread Gerd Hoffmann
On Fr, 2015-05-01 at 11:44 +0100, Daniel P. Berrange wrote: > 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. added to vnc queue. thanks, Gerd

Re: [Qemu-devel] [PATCH] ui: remove check for failure of qemu_acl_init()

2015-05-01 Thread Eric Blake
On 05/01/2015 04:44 AM, Daniel P. Berrange wrote: > 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 > --- > ui/vnc.c | 8 > 1 fil

[Qemu-devel] [PATCH] ui: remove check for failure of qemu_acl_init()

2015-05-01 Thread Daniel P. Berrange
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 --- ui/vnc.c | 8 1 file changed, 8 deletions(-) diff --git a/ui/vnc.c b/ui/vnc.c index