VirtualBox

Changeset 106497 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Oct 19, 2024 3:11:08 AM (7 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165329
Message:

iprt/r3: switch fall thru and LARGE_INTEGER init. jiraref:VBP-1171

Location:
trunk/src/VBox/Runtime/r3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/nt/direnum-r3-nt.cpp

    r106061 r106497  
    712712            default:
    713713                AssertFailed();
     714                RT_FALL_THRU();
    714715            case 0:
    715716                pDirEntry->enmType = RTDIRENTRYTYPE_FILE;
  • trunk/src/VBox/Runtime/r3/stream.cpp

    r106061 r106497  
    16841684                    default:
    16851685                        AssertFailed();
     1686                        RT_FALL_THROUGH();
    16861687                    case RTSTREAMBUFDIR_NONE:
    16871688                        break;
  • trunk/src/VBox/Runtime/r3/win/RTSystemQueryOSInfo-win.cpp

    r106061 r106497  
    250250                default:
    251251                    AssertFailed();
     252                    RT_FALL_THROUGH();
    252253                case kRTWinOSType_UNKNOWN:
    253254                    RTStrPrintf(szTmp, sizeof(szTmp), "Unknown %d v%u.%u",
  • trunk/src/VBox/Runtime/r3/win/semmutex-win.cpp

    r106061 r106497  
    256256        default:
    257257            AssertMsgFailed(("%u\n",  rc));
     258            RT_FALL_THRU();
    258259        case WAIT_FAILED:
    259260        {
  • trunk/src/VBox/Runtime/r3/win/timer-win.cpp

    r106061 r106497  
    405405    if (!pTimer->fSuspended)
    406406    {
    407         LARGE_INTEGER ll = {0};
     407        LARGE_INTEGER ll = {{0,0}};
    408408        ll.LowPart = 100;
    409409        rc = SetWaitableTimer(pTimer->hTimer, &ll, 0, NULL, NULL, FALSE);
     
    499499    if (RTThreadSelf() != pTimer->Thread)
    500500    {
    501         LARGE_INTEGER ll = {0};
     501        LARGE_INTEGER ll = {{0,0}};
    502502        ll.LowPart = 100;
    503503        rc = SetWaitableTimer(pTimer->hTimer, &ll, 0, NULL, NULL, FALSE);
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