VirtualBox

Changeset 69046 in vbox for trunk/src/VBox/Devices/Input


Ignore:
Timestamp:
Oct 11, 2017 4:11:23 PM (7 years ago)
Author:
vboxsync
Message:

Global: replace fall-through comments with RT_FALL_THRU().
bugref:8192: gcc warnings

Location:
trunk/src/VBox/Devices/Input
Files:
5 edited

Legend:

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

    r65648 r69046  
    719719    case 2:
    720720        fluff = 0xff00;
    721         /* fall thru */
     721        RT_FALL_THRU();
    722722    case 1:
    723723        *pu32 = fluff | kbd_read_status(pThis, Port);
  • trunk/src/VBox/Devices/Input/PS2K.cpp

    r65648 r69046  
    751751            if (fHandled)
    752752                break;
    753             /* fall thru */
     753            RT_FALL_THRU();
    754754
    755755        case KCMD_INVALID_1:
  • trunk/src/VBox/Devices/Input/PS2M.cpp

    r68109 r69046  
    508508            LogRelFlow(("PS2M: Switching mouse to ImEx protocol.\n"));
    509509        }
    510         /* Fall through! */
     510        RT_FALL_THRU();
    511511    default:
    512512        pThis->enmKnockState = PS2M_KNOCK_INITIAL;
     
    783783            if (fHandled)
    784784                break;
    785             /* fall thru */
     785            RT_FALL_THRU();
    786786
    787787        case ACMD_INVALID_1:
  • trunk/src/VBox/Devices/Input/UsbKbd.cpp

    r66989 r69046  
    11171117        case 0x81:
    11181118            AssertFailed();
    1119             /* fall thru */
     1119            RT_FALL_THRU();
    11201120        case 0x01:
    11211121            rc = usbHidHandleIntrDevToHost(pThis, &pThis->aEps[1], pUrb);
  • trunk/src/VBox/Devices/Input/UsbMouse.cpp

    r66989 r69046  
    21762176        case 0x81:
    21772177            AssertFailed();
    2178             /* fall thru */
     2178            RT_FALL_THRU();
    21792179        case 0x01:
    21802180            rc = usbHidHandleIntrDevToHost(pThis, &pThis->aEps[1], pUrb);
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