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

Matt Turner mattst88 at gmail.com
Fri Oct 15 10:11:34 PDT 2010


On Fri, Oct 15, 2010 at 2:02 AM, Mikhail Gusarov
<dottedmag at dottedmag.net> 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 = {}?
>
> --

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


More information about the xorg-devel mailing list