VirtualBox

Ignore:
Timestamp:
Jul 27, 2016 11:46:03 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109153
Message:

IPRT: Unused parameters on windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/poll.cpp

    r62564 r62584  
    241241     */
    242242# ifdef RT_OS_WINDOWS
     243    RT_NOREF_PV(MsStart);
     244
    243245    DWORD dwRc = WaitForMultipleObjectsEx(cHandles, pThis->pahNative,
    244246                                          FALSE /*fWaitAll */,
    245247                                          cMillies == RT_INDEFINITE_WAIT ? INFINITE : cMillies,
    246248                                          TRUE /*fAlertable*/);
    247     if (    dwRc >= WAIT_OBJECT_0
    248         &&  dwRc < WAIT_OBJECT_0 + cHandles)
     249    AssertCompile(WAIT_OBJECT_0 == 0);
     250    if (dwRc < WAIT_OBJECT_0 + cHandles)
    249251        rc = VERR_INTERRUPTED;
    250252    else if (dwRc == WAIT_TIMEOUT)
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