VirtualBox

Changeset 26669 in vbox


Ignore:
Timestamp:
Feb 21, 2010 11:04:35 AM (15 years ago)
Author:
vboxsync
Message:

Devices/Input/UsbKbd.cpp: warning, style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Input/UsbKbd.cpp

    r26495 r26669  
    551551static int8_t clamp_i8(int32_t val)
    552552{
    553     if (val > 127) {
     553    if (val > 127)
    554554        val = 127;
    555     } else if (val < -127) {
     555    else if (val < -127)
    556556        val = -127;
    557     }
    558557    return val;
    559558}
     
    592591    uint8_t u8HidCode;
    593592    int fKeyDown;
    594     int i;
     593    unsigned i;
    595594
    596595//    int rc = PDMCritSectEnter(&pThis->CritSect, VERR_SEM_BUSY);
     
    607606            if (pReport->aKeys[i] == u8HidCode)
    608607                break;                              /* Skip repeat events. */
    609             if (pReport->aKeys[i] == 0) {
     608            if (pReport->aKeys[i] == 0)
     609            {
    610610                pReport->aKeys[i] = u8HidCode;      /* Report key down. */
    611611                break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette