VirtualBox

Ignore:
Timestamp:
Feb 7, 2017 11:28:56 AM (8 years ago)
Author:
vboxsync
Message:

gcc 7: Runtime: fall thru

Location:
trunk/src/VBox/Runtime/common/misc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/getoptargv.cpp

    r62477 r65642  
    158158    switch (cchSeparators)
    159159    {
    160         case 8: if (ch == pszSeparators[7]) return true;
    161         case 7: if (ch == pszSeparators[6]) return true;
    162         case 6: if (ch == pszSeparators[5]) return true;
    163         case 5: if (ch == pszSeparators[4]) return true;
    164         case 4: if (ch == pszSeparators[3]) return true;
    165         case 3: if (ch == pszSeparators[2]) return true;
    166         case 2: if (ch == pszSeparators[1]) return true;
     160        case 8: if (ch == pszSeparators[7]) return true; /* fall thru */
     161        case 7: if (ch == pszSeparators[6]) return true; /* fall thru */
     162        case 6: if (ch == pszSeparators[5]) return true; /* fall thru */
     163        case 5: if (ch == pszSeparators[4]) return true; /* fall thru */
     164        case 4: if (ch == pszSeparators[3]) return true; /* fall thru */
     165        case 3: if (ch == pszSeparators[2]) return true; /* fall thru */
     166        case 2: if (ch == pszSeparators[1]) return true; /* fall thru */
    167167        case 1: if (ch == pszSeparators[0]) return true;
    168168            return false;
  • trunk/src/VBox/Runtime/common/misc/lockvalidator.cpp

    r63678 r65642  
    42844284                            if (!pRec || pRec->Core.u32Magic != RTLOCKVALRECSHRD_MAGIC)
    42854285                                break;
     4286                            /* fall thru */
    42864287                        case RTLOCKVALRECSHRD_MAGIC:
    42874288                            pvLock = pRec->Shared.hLock;
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