Index: /trunk/src/VBox/Devices/Input/UsbKbd.cpp
===================================================================
--- /trunk/src/VBox/Devices/Input/UsbKbd.cpp	(revision 26668)
+++ /trunk/src/VBox/Devices/Input/UsbKbd.cpp	(revision 26669)
@@ -551,9 +551,8 @@
 static int8_t clamp_i8(int32_t val)
 {
-    if (val > 127) {
+    if (val > 127)
         val = 127;
-    } else if (val < -127) {
+    else if (val < -127)
         val = -127;
-    }
     return val;
 }
@@ -592,5 +591,5 @@
     uint8_t u8HidCode;
     int fKeyDown;
-    int i;
+    unsigned i;
 
 //    int rc = PDMCritSectEnter(&pThis->CritSect, VERR_SEM_BUSY);
@@ -607,5 +606,6 @@
             if (pReport->aKeys[i] == u8HidCode)
                 break;                              /* Skip repeat events. */
-            if (pReport->aKeys[i] == 0) {
+            if (pReport->aKeys[i] == 0)
+            {
                 pReport->aKeys[i] = u8HidCode;      /* Report key down. */
                 break;
