Commit 73919568b0c9305f6eccbe2abfebe3248893703d

Daniel Stone 2012-03-09T16:32:45

Add explicit braces Signed-off-by: Daniel Stone <daniel@fooishbar.org>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/src/xkbcomp/keymap.c b/src/xkbcomp/keymap.c
index 6c236a6..a5beedb 100644
--- a/src/xkbcomp/keymap.c
+++ b/src/xkbcomp/keymap.c
@@ -99,6 +99,7 @@ CompileKeymap(XkbFile *file, struct xkb_desc * xkb, unsigned merge)
             ok = False;
         }
         else
+        {
             switch (file->type)
             {
             case XkmSemanticsFile:
@@ -133,6 +134,7 @@ CompileKeymap(XkbFile *file, struct xkb_desc * xkb, unsigned merge)
                 WSGO("Unknown file type %d\n", file->type);
                 break;
             }
+        }
         if (ok)
             have |= (1 << file->type);
         file = (XkbFile *) file->common.next;