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

Peter Hutterer peter.hutterer at who-t.net
Sun Oct 17 15:24:49 PDT 2010


On Fri, Oct 15, 2010 at 10:02:36AM +0400, Mikhail Gusarov wrote:
> 
> Twas brillig at 12:02:56 15.10.2010 UTC+10 when peter.hutterer at who-t.net did gyre and gimble:
> 
>  PH> -    CARD16              symsPerKey[XkbMaxLegalKeyCode + 1];
>  PH> +    CARD8               mapWidths[XkbMaxLegalKeyCode + 1] = {0};
> 
> Just a syntax nit - why not = {}?

personal preference, having the 0 there makes it more obvious (imo, anyway
:)

Cheers,
  Peter


More information about the xorg-devel mailing list