Re: [libvirt-gconfig PATCHv2 13/32] Add gobject boilerplate for GVirConfigOs

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

 



On Tue, Nov 22, 2011 at 01:01:17PM +0000, Daniel P. Berrange wrote:
> On Mon, Nov 21, 2011 at 07:04:10PM +0100, Christophe Fergeau wrote:
> > +static void gvir_config_os_init(GVirConfigOs *os)
> > +{
> > +    GVirConfigOsPrivate *priv;
> > +
> > +    DEBUG("Init GVirConfigOs=%p", os);
> > +
> > +    priv = os->priv = GVIR_CONFIG_OS_GET_PRIVATE(os);
> > +
> > +    memset(priv, 0, sizeof(*priv));
> > +}
> 
> Can drop the memset() since we previously figured out we don't need that.

Dropped everywhere in an additional patch in v3

Christophe

Attachment: pgpgyOMJyTIRa.pgp
Description: PGP signature

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