VirtualBox

vbox的更動 62584 路徑 trunk/src/VBox/Runtime


忽略:
時間撮記:
2016-7-27 上午11:46:03 (8 年 以前)
作者:
vboxsync
訊息:

IPRT: Unused parameters on windows.

位置:
trunk/src/VBox/Runtime
檔案:
修改 22 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/common/asn1/asn1-cursor.cpp

    r62477 r62584  
    7171    pPrimaryCursor->Cursor.pbCur            = (uint8_t const *)pvFirst;
    7272    pPrimaryCursor->Cursor.cbLeft           = cb;
    73     pPrimaryCursor->Cursor.fFlags           = fFlags;
     73    pPrimaryCursor->Cursor.fFlags           = (uint8_t)fFlags; Assert(fFlags <= UINT8_MAX);
    7474    pPrimaryCursor->Cursor.cDepth           = 0;
    7575    pPrimaryCursor->Cursor.abReserved[0]    = 0;
  • trunk/src/VBox/Runtime/common/dbg/dbgmoddbghelp.cpp

    r62477 r62584  
    364364{
    365365    RTDBGMODBGHELPARGS *pArgs = (RTDBGMODBGHELPARGS *)pvUser;
     366    RT_NOREF_PV(hLdrMod);
    366367
    367368    Log(("Segment %.*s: LinkAddress=%#llx RVA=%#llx cb=%#llx\n",
  • trunk/src/VBox/Runtime/common/misc/thread.cpp

    r62477 r62584  
    15661566    PRTTHREADINT pThread = (PRTTHREADINT)pNode;
    15671567    rtThreadNativeInformDebugger(pThread);
     1568    RT_NOREF_PV(pvUser);
    15681569    return 0;
    15691570}
  • trunk/src/VBox/Runtime/common/path/RTPathChangeToDosSlashes.cpp

    r62477 r62584  
    4545RTDECL(char *) RTPathChangeToDosSlashes(char *pszPath, bool fForce)
    4646{
    47 #if !defined(RT_OS_WINDOWS) && !defined(RT_OS_OS2)
     47#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
     48    RT_NOREF_PV(fForce);
     49#else
    4850    if (fForce)
    4951#endif
  • trunk/src/VBox/Runtime/common/path/RTPathChangeToUnixSlashes.cpp

    r62477 r62584  
    4545RTDECL(char *) RTPathChangeToUnixSlashes(char *pszPath, bool fForce)
    4646{
    47 #if !defined(RT_OS_WINDOWS) && !defined(RT_OS_OS2)
     47#if defined(RT_OS_WINDOWS) || defined(RT_OS_OS2)
     48    RT_NOREF_PV(fForce);
     49#else
    4850    if (fForce)
    4951#endif
  • trunk/src/VBox/Runtime/common/path/RTPathGlob.cpp

    r62564 r62584  
    550550                                                       PRTPATHMATCHCACHE pCache)
    551551{
     552    RT_NOREF_PV(pCache);
     553
    552554    if (iItem == 0)
    553555    {
     
    602604                                                      PRTPATHMATCHCACHE pCache)
    603605{
     606    RT_NOREF_PV(pCache);
     607
    604608    if (iItem == 0)
    605609    {
  • trunk/src/VBox/Runtime/common/zip/pkzipvfs.cpp

    r62564 r62584  
    406406static int rtZipPkzipParseLocalFileHeader(PRTZIPPKZIPREADER pThis, PRTZIPPKZIPLOCALFILEHDR pLfh, size_t *pcbExtra)
    407407{
     408    RT_NOREF_PV(pThis);
     409
    408410    if (pLfh->cbFilename >= sizeof(pThis->szName))
    409411        return VERR_PKZIP_NAME_TOO_LONG;
  • trunk/src/VBox/Runtime/common/zip/tarcmd.cpp

    r62477 r62584  
    549549                }
    550550            }
     551#else
     552            RT_NOREF_PV(pOwner); RT_NOREF_PV(pGroup);
    551553#endif
    552554
  • trunk/src/VBox/Runtime/r3/nt/fs-nt.cpp

    r62477 r62584  
    228228RTR3DECL(bool) RTFsIsCaseSensitive(const char *pszFsPath)
    229229{
     230    RT_NOREF_PV(pszFsPath);
    230231    return false;
    231232}
  • trunk/src/VBox/Runtime/r3/nt/pathint-nt.cpp

    r62477 r62584  
    394394    RTUtf16Free(pNtName->Buffer);
    395395    pNtName->Buffer = NULL;
     396
     397    RT_NOREF_PV(phRootDir); /* never returned by rtNtPathToNative */
    396398}
    397399
  • 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)
  • trunk/src/VBox/Runtime/r3/socket.cpp

    r62570 r62584  
    19591959{
    19601960    RTSOCKETINT *pThis = hSocket;
     1961    RT_NOREF_PV(fEvents);
    19611962    AssertPtrReturn(pThis, VERR_INVALID_HANDLE);
    19621963    AssertReturn(pThis->u32Magic == RTSOCKET_MAGIC, VERR_INVALID_HANDLE);
     
    19791980
    19801981#else  /* !RT_OS_WINDOWS */
    1981     RT_NOREF_PV(fEvents);
    19821982    *phNative = (RTHCUINTPTR)pThis->hNative;
    19831983    return VINF_SUCCESS;
     
    22352235    Assert(pThis->cUsers > 0);
    22362236    Assert(pThis->hPollSet != NIL_RTPOLLSET);
     2237    RT_NOREF_PV(fFinalEntry);
    22372238
    22382239    /* Harvest events and clear the event mask for the next round of polling. */
  • trunk/src/VBox/Runtime/r3/win/alloc-win.cpp

    r62477 r62584  
    4646RTDECL(void *) RTMemExecAllocTag(size_t cb, const char *pszTag) RT_NO_THROW_DEF
    4747{
     48    RT_NOREF_PV(pszTag);
     49
    4850    /*
    4951     * Allocate first.
     
    7375RTDECL(void)    RTMemExecFree(void *pv, size_t cb) RT_NO_THROW_DEF
    7476{
     77    RT_NOREF_PV(cb);
     78
    7579    if (pv)
    7680        free(pv);
     
    8084RTDECL(void *) RTMemPageAllocTag(size_t cb, const char *pszTag) RT_NO_THROW_DEF
    8185{
     86    RT_NOREF_PV(pszTag);
     87
    8288#ifdef USE_VIRTUAL_ALLOC
    8389    void *pv = VirtualAlloc(NULL, RT_ALIGN_Z(cb, PAGE_SIZE), MEM_COMMIT, PAGE_READWRITE);
     
    9298RTDECL(void *) RTMemPageAllocZTag(size_t cb, const char *pszTag) RT_NO_THROW_DEF
    9399{
     100    RT_NOREF_PV(pszTag);
     101
    94102#ifdef USE_VIRTUAL_ALLOC
    95103    void *pv = VirtualAlloc(NULL, RT_ALIGN_Z(cb, PAGE_SIZE), MEM_COMMIT, PAGE_READWRITE);
     
    109117RTDECL(void) RTMemPageFree(void *pv, size_t cb) RT_NO_THROW_DEF
    110118{
     119    RT_NOREF_PV(cb);
     120
    111121    if (pv)
    112122    {
  • trunk/src/VBox/Runtime/r3/win/allocex-win.cpp

    r62477 r62584  
    115115DECLHIDDEN(void) rtMemFreeExYyBitReach(void *pv, size_t cb, uint32_t fFlags)
    116116{
     117    RT_NOREF_PV(fFlags);
     118
    117119    BOOL fRc = VirtualFree(pv, cb, MEM_RELEASE);
    118     Assert(fRc); NOREF(fRc);
     120    Assert(fRc); RT_NOREF_PV(fRc);
    119121}
    120122
  • trunk/src/VBox/Runtime/r3/win/dir-win.cpp

    r62477 r62584  
    131131RTDECL(int) RTDirFlush(const char *pszPath)
    132132{
     133    RT_NOREF_PV(pszPath);
    133134    return VERR_NOT_SUPPORTED;
    134135}
  • trunk/src/VBox/Runtime/r3/win/fileio-win.cpp

    r62477 r62584  
    700700     * else where, and check for known file system names. (For LAN shares we'll
    701701     * have to figure out the remote file system.) */
     702    RT_NOREF_PV(hFile); RT_NOREF_PV(pcbMax);
    702703    return VERR_NOT_IMPLEMENTED;
    703704}
     
    943944                             PCRTTIMESPEC pChangeTime, PCRTTIMESPEC pBirthTime)
    944945{
     946    RT_NOREF_PV(pChangeTime); /* Not exposed thru the windows API we're using. */
     947
    945948    if (!pAccessTime && !pModificationTime && !pBirthTime)
    946949        return VINF_SUCCESS;    /* NOP */
     
    10061009    /** @todo implement this using NtQueryVolumeInformationFile(hFile,,,,
    10071010     *        FileFsSizeInformation). */
     1011    RT_NOREF_PV(hFile); RT_NOREF_PV(pcbTotal); RT_NOREF_PV(pcbFree); RT_NOREF_PV(pcbBlock); RT_NOREF_PV(pcbSector);
    10081012    return VERR_NOT_SUPPORTED;
    10091013}
  • trunk/src/VBox/Runtime/r3/win/init-win.cpp

    r62477 r62584  
    344344{
    345345    /* Nothing to do here. */
     346    RT_NOREF_PV(fFlags);
    346347    return VINF_SUCCESS;
    347348}
  • trunk/src/VBox/Runtime/r3/win/localipc-win.cpp

    r62477 r62584  
    16221622RTDECL(int) RTLocalIpcSessionQueryProcess(RTLOCALIPCSESSION hSession, PRTPROCESS pProcess)
    16231623{
     1624    RT_NOREF_PV(hSession); RT_NOREF_PV(pProcess);
    16241625    return VERR_NOT_SUPPORTED;
    16251626}
     
    16281629RTDECL(int) RTLocalIpcSessionQueryUserId(RTLOCALIPCSESSION hSession, PRTUID pUid)
    16291630{
     1631    RT_NOREF_PV(hSession); RT_NOREF_PV(pUid);
    16301632    return VERR_NOT_SUPPORTED;
    16311633}
    16321634
    16331635
    1634 RTDECL(int) RTLocalIpcSessionQueryGroupId(RTLOCALIPCSESSION hSession, PRTUID pUid)
    1635 {
     1636RTDECL(int) RTLocalIpcSessionQueryGroupId(RTLOCALIPCSESSION hSession, PRTGID pGid)
     1637{
     1638    RT_NOREF_PV(hSession); RT_NOREF_PV(pGid);
    16361639    return VERR_NOT_SUPPORTED;
    16371640}
  • trunk/src/VBox/Runtime/r3/win/path-win.cpp

    r62477 r62584  
    608608RTR3DECL(int) RTPathUnlink(const char *pszPath, uint32_t fUnlink)
    609609{
     610    RT_NOREF_PV(pszPath); RT_NOREF_PV(fUnlink);
    610611    return VERR_NOT_IMPLEMENTED;
    611612}
  • trunk/src/VBox/Runtime/r3/win/pipe-win.cpp

    r62477 r62584  
    13061306    AssertPtrReturn(pThis, UINT32_MAX);
    13071307    AssertReturn(pThis->u32Magic == RTPIPE_MAGIC, UINT32_MAX);
     1308    RT_NOREF_PV(fFinalEntry);
    13081309
    13091310    int rc = RTCritSectEnter(&pThis->CritSect);
     
    13861387    AssertPtrReturn(pThis, 0);
    13871388    AssertReturn(pThis->u32Magic == RTPIPE_MAGIC, 0);
     1389    RT_NOREF_PV(fFinalEntry);
     1390    RT_NOREF_PV(fHarvestEvents);
    13881391
    13891392    int rc = RTCritSectEnter(&pThis->CritSect);
  • trunk/src/VBox/Runtime/r3/win/process-win.cpp

    r62452 r62584  
    309309    int      rc;
    310310    RTLDRMOD hMod;
     311    RT_NOREF_PV(pvUser);
    311312
    312313    /*
  • trunk/src/VBox/Runtime/r3/win/symlink-win.cpp

    r62477 r62584  
    126126    AssertPtrReturn(pszSymlink, VERR_INVALID_POINTER);
    127127    AssertPtrReturn(pszTarget, VERR_INVALID_POINTER);
     128    RT_NOREF_PV(fCreate);
    128129
    129130    /*
     
    230231RTDECL(int) RTSymlinkDelete(const char *pszSymlink, uint32_t fDelete)
    231232{
     233    RT_NOREF_PV(fDelete);
     234
    232235    /*
    233236     * Convert the path.
     
    273276RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget, uint32_t fRead)
    274277{
     278    RT_NOREF_PV(fRead);
     279
    275280    char *pszMyTarget;
    276281    int rc = RTSymlinkReadA(pszSymlink, &pszMyTarget);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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