Re: [libvirt-glib PATCHv3 27/27] Don't memset GObject private data to 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 23, 2011 at 02:35:10PM +0100, Christophe Fergeau wrote:
> The GObject private data allocated with g_type_class_add_private
> will be automatically zero'ed when the GObject is created so we
> don't need to memset it to 0.
> ---
>  libvirt-gconfig/libvirt-gconfig-capabilities.c     |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-domain-clock.c     |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-domain-device.c    |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-domain-disk.c      |    6 +-----
>  .../libvirt-gconfig-domain-graphics-spice.c        |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-domain-graphics.c  |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-domain-input.c     |    6 +-----
>  .../libvirt-gconfig-domain-interface-network.c     |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-domain-interface.c |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-domain-os.c        |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-domain-snapshot.c  |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-domain-timer.c     |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-domain-video.c     |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-domain.c           |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-interface.c        |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-network-filter.c   |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-network.c          |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-node-device.c      |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-object.c           |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-secret.c           |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-storage-pool.c     |    6 +-----
>  libvirt-gconfig/libvirt-gconfig-storage-vol.c      |    6 +-----
>  libvirt-gobject/libvirt-gobject-domain-snapshot.c  |    6 +-----
>  libvirt-gobject/libvirt-gobject-domain.c           |    6 +-----
>  libvirt-gobject/libvirt-gobject-interface.c        |    6 +-----
>  libvirt-gobject/libvirt-gobject-manager.c          |    2 --
>  libvirt-gobject/libvirt-gobject-network-filter.c   |    6 +-----
>  libvirt-gobject/libvirt-gobject-network.c          |    6 +-----
>  libvirt-gobject/libvirt-gobject-node-device.c      |    6 +-----
>  libvirt-gobject/libvirt-gobject-secret.c           |    6 +-----
>  libvirt-gobject/libvirt-gobject-storage-pool.c     |    2 --
>  libvirt-gobject/libvirt-gobject-storage-vol.c      |    6 +-----
>  32 files changed, 30 insertions(+), 154 deletions(-)

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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]