[Libosinfo] [libosinfo] Remove unused 'priv' variable from _init methods

Daniel P. Berrange berrange at redhat.com
Thu Jan 31 11:45:21 UTC 2013


On Thu, Jan 31, 2013 at 11:13:52AM +0100, Christophe Fergeau wrote:
> In most instance _init() methods, the instance priv member
> is initialized, but a local 'priv' variable was also declared and
> assigned, but not actually used. Kill this intermediate variable
> as this causes Coverity warnings.

ACK

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 Libosinfo mailing list