Add explicit braces

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
master
Daniel Stone 2012-03-09 16:32:45 +00:00
parent aa41ab2918
commit 73919568b0
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,7 @@ CompileKeymap(XkbFile *file, struct xkb_desc * xkb, unsigned merge)
ok = False; ok = False;
} }
else else
{
switch (file->type) switch (file->type)
{ {
case XkmSemanticsFile: case XkmSemanticsFile:
@ -133,6 +134,7 @@ CompileKeymap(XkbFile *file, struct xkb_desc * xkb, unsigned merge)
WSGO("Unknown file type %d\n", file->type); WSGO("Unknown file type %d\n", file->type);
break; break;
} }
}
if (ok) if (ok)
have |= (1 << file->type); have |= (1 << file->type);
file = (XkbFile *) file->common.next; file = (XkbFile *) file->common.next;