VirtualBox

Changeset 69046 in vbox for trunk/src/VBox/Runtime/tools


Ignore:
Timestamp:
Oct 11, 2017 4:11:23 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118325
Message:

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

Location:
trunk/src/VBox/Runtime/tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/tools/RTCat.cpp

    r66602 r69046  
    212212                    return rcExit;
    213213                ValueUnion.psz = "-";
    214                 /* Fall thru. */
     214                RT_FALL_THRU();
    215215            case VINF_GETOPT_NOT_OPTION:
    216216            {
     
    248248            case 'e':
    249249                Opts.fShowNonPrinting       = true;
    250                 /* fall thru */
     250                RT_FALL_THRU();
    251251            case 'E':
    252252                Opts.fShowEnds              = true;
     
    268268            case 't':
    269269                Opts.fShowNonPrinting       = true;
    270                 /* fall thru */
     270                RT_FALL_THRU();
    271271            case 'T':
    272272                Opts.fShowTabs              = true;
  • trunk/src/VBox/Runtime/tools/RTDbgSymCache.cpp

    r62724 r69046  
    11261126        case RTDBGSYMCACHEFILETYPE_DIR_FILTER:
    11271127            Cfg.pszFilter = RTPathFilename(pszPath);
    1128             /* fall thru */
     1128            RT_FALL_THRU();
    11291129        case RTDBGSYMCACHEFILETYPE_DIR:
    11301130            rc = rtDbgSymCacheAddDir(pszPath, &Cfg);
  • trunk/src/VBox/Runtime/tools/RTGzip.cpp

    r66602 r69046  
    504504                ValueUnion.psz = "-";
    505505                Opts.fStdOut = true;
    506                 /* Fall thru. */
     506                RT_FALL_THRU();
    507507            case VINF_GETOPT_NOT_OPTION:
    508508            {
  • trunk/src/VBox/Runtime/tools/RTLs.cpp

    r67560 r69046  
    466466            pfnCmp = pOpts->fGroupDirectoriesFirst ? rtCmdLsEntryCmpDirFirstUnsorted      : NULL;
    467467            break;
    468         default: AssertFailed(); /* fall thru */
     468        default: AssertFailed(); RT_FALL_THRU();
    469469        case RTCMDLSSORT_NAME:
    470470            pfnCmp = pOpts->fGroupDirectoriesFirst ? rtCmdLsEntryCmpDirFirstName          : rtCmdLsEntryCmpName;
     
    482482            switch (pOpts->enmTime)
    483483            {
    484                 default: AssertFailed(); /* fall thru */
     484                default: AssertFailed(); RT_FALL_THRU();
    485485                case RTCMDLSTIME_MTIME: pfnCmp = pOpts->fGroupDirectoriesFirst ? rtCmdLsEntryCmpDirFirstMTime : rtCmdLsEntryCmpMTime; break;
    486486                case RTCMDLSTIME_BTIME: pfnCmp = pOpts->fGroupDirectoriesFirst ? rtCmdLsEntryCmpDirFirstBTime : rtCmdLsEntryCmpBTime; break;
     
    755755    switch (pOpts->enmTime)
    756756    {
    757         default: AssertFailed(); /* fall thru */
     757        default: AssertFailed(); RT_FALL_THRU();
    758758        case RTCMDLSTIME_MTIME: offTime = RT_OFFSETOF(RTCMDLSENTRY, Info.ModificationTime); break;
    759759        case RTCMDLSTIME_BTIME: offTime = RT_OFFSETOF(RTCMDLSENTRY, Info.BirthTime); break;
     
    14371437                }
    14381438                ValueUnion.psz = ".";
    1439                 /* Fall thru. */
     1439                RT_FALL_THRU();
    14401440            case VINF_GETOPT_NOT_OPTION:
    14411441            {
Note: See TracChangeset for help on using the changeset viewer.

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