[PATCH RESEND 1/4] xkb: init mapWidth and symsPerKey arrays to 0.

Mikhail Gusarov dottedmag at dottedmag.net
Fri Oct 15 10:37:15 PDT 2010


Twas brillig at 13:11:34 15.10.2010 UTC-04 when mattst88 at gmail.com did gyre and gimble:

 >>  PH> -    CARD16              symsPerKey[XkbMaxLegalKeyCode + 1];
 >>  PH> +    CARD8               mapWidths[XkbMaxLegalKeyCode + 1] = {0};
 >>
 >> Just a syntax nit - why not = {}?
 >>
 >> --

 MT> I've always seen {0}. Is {} equivalent?

Yes.

-- 
  http://fossarchy.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101015/6dd4313c/attachment.pgp>


More information about the xorg-devel mailing list