[libvirt] [libvirt-sandbox][PATCH 1/4] builder: Drop dead code in gvir_sandbox_builder_clean_post_stop

Daniel P. Berrange berrange at redhat.com
Wed Sep 23 09:18:56 UTC 2015


On Wed, Sep 23, 2015 at 11:15:21AM +0200, Michal Privoznik wrote:
> At the 'cleanup' label we try to unref @child. However, whenever
> the label is entered there's no chance for the variable to be
> anything else than NULL rendering those two lines as dead code.
> Drop it. And it's the same story with @info.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  libvirt-sandbox/libvirt-sandbox-builder.c | 4 ----
>  1 file changed, 4 deletions(-)

ACK


Regards,
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 :|




More information about the libvir-list mailing list