Re: [PATCH] Simplify code in vnc_connection_open_host_interna
- From: "Daniel P. Berrange" <dan berrange com>
- To: Guido Günther <agx sigxcpu org>
- Cc: gtk-vnc-devel List <gtk-vnc-list gnome org>
- Subject: Re: [PATCH] Simplify code in vnc_connection_open_host_interna
- Date: Wed, 8 Sep 2010 14:38:03 +0100
On Tue, Sep 07, 2010 at 10:29:17PM +0200, Guido Günther wrote:
> Hi,
> The second else clause checks for conn_error != NULL twice and since we
> don't use it to determine the return value we can clear it
> unconditionally.
Thanks, applied to GIT
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]