[Spice-devel] [PATCH spice-common] Add missing struct field initializers

Christophe Fergeau cfergeau at redhat.com
Wed Apr 25 06:13:26 PDT 2012


On Wed, Apr 25, 2012 at 02:05:14PM +0100, Daniel P. Berrange wrote:
> On Wed, Apr 25, 2012 at 03:01:53PM +0200, Christophe Fergeau wrote:
> > On Wed, Apr 25, 2012 at 10:58:05AM +0100, Daniel P. Berrange wrote:
> > > From: "Daniel P. Berrange" <berrange at redhat.com>
> > 
> > Is that causing issues with newer GCCs? Iirc the rest of the structure is
> > supposed to be initialized to 0 when it's only partially initialized.
> 
> This is a result of -Wmissing-field-initializers - see the other patch
> for a example of why we want to use that warning flag, and thus need to
> make all initializers explicit

Yeah, I saw your other reply after the fact, patch is fine with me then

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20120425/2edafe9d/attachment.pgp>


More information about the Spice-devel mailing list