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

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



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


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