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

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



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: pgpm3x3DZudgv.pgp
Description: PGP signature


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