[PATCH 03/19] Use C99 designated initializers in SendErrorToClient

Keith Packard keithp at keithp.com
Mon Jul 2 10:14:03 PDT 2012


Alan Coopersmith <alan.coopersmith at oracle.com> writes:

> Let the compiler worry about 0-filling the rest of the fields,
> instead of memsetting the whole struct and then going back to
> overwrite some of the fields.

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120702/cbb8fcf0/attachment.pgp>


More information about the xorg-devel mailing list