VirtualBox

Changeset 62564 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
Jul 26, 2016 2:43:03 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109133
Message:

IPRT: Mark unused parameters.

Location:
trunk/src/VBox/Runtime/r3/posix
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/allocex-r3-posix.cpp

    r62477 r62564  
    105105DECLHIDDEN(void) rtMemFreeExYyBitReach(void *pv, size_t cb, uint32_t fFlags)
    106106{
     107    RT_NOREF_PV(fFlags);
    107108    munmap(pv, cb);
    108109}
  • trunk/src/VBox/Runtime/r3/posix/dir-posix.cpp

    r62477 r62564  
    7979RTDECL(int) RTDirCreate(const char *pszPath, RTFMODE fMode, uint32_t fCreate)
    8080{
     81    RT_NOREF_PV(fCreate);
     82
    8183    int rc;
    8284    fMode = rtFsModeNormalize(fMode, pszPath, 0);
  • trunk/src/VBox/Runtime/r3/posix/fs-posix.cpp

    r62477 r62564  
    177177RTR3DECL(bool) RTFsIsCaseSensitive(const char *pszFsPath)
    178178{
     179    RT_NOREF_PV(pszFsPath);
    179180#if defined(RT_OS_OS2) || defined(RT_OS_WINDOWS)
    180181    return false;
  • trunk/src/VBox/Runtime/r3/posix/ldrNative-posix.cpp

    r62477 r62564  
    123123int rtldrNativeLoadSystem(const char *pszFilename, const char *pszExt, uint32_t fFlags, PRTLDRMOD phLdrMod)
    124124{
     125    RT_NOREF_PV(pszFilename); RT_NOREF_PV(pszExt); RT_NOREF_PV(fFlags); RT_NOREF_PV(phLdrMod);
    125126    /** @todo implement this in some sensible fashion. */
    126127    return VERR_NOT_SUPPORTED;
  • trunk/src/VBox/Runtime/r3/posix/localipc-posix.cpp

    r62477 r62564  
    10491049RTDECL(int) RTLocalIpcSessionQueryProcess(RTLOCALIPCSESSION hSession, PRTPROCESS pProcess)
    10501050{
     1051    RT_NOREF_PV(hSession); RT_NOREF_PV(pProcess);
    10511052    return VERR_NOT_SUPPORTED;
    10521053}
     
    10551056RTDECL(int) RTLocalIpcSessionQueryUserId(RTLOCALIPCSESSION hSession, PRTUID pUid)
    10561057{
     1058    RT_NOREF_PV(hSession); RT_NOREF_PV(pUid);
    10571059    return VERR_NOT_SUPPORTED;
    10581060}
     
    10611063RTDECL(int) RTLocalIpcSessionQueryGroupId(RTLOCALIPCSESSION hSession, PRTGID pGid)
    10621064{
     1065    RT_NOREF_PV(hSession); RT_NOREF_PV(pGid);
    10631066    return VERR_NOT_SUPPORTED;
    10641067}
  • trunk/src/VBox/Runtime/r3/posix/path-posix.cpp

    r62477 r62564  
    302302RTR3DECL(int) RTPathUnlink(const char *pszPath, uint32_t fUnlink)
    303303{
     304    RT_NOREF_PV(pszPath); RT_NOREF_PV(fUnlink);
    304305    return VERR_NOT_IMPLEMENTED;
    305306}
  • trunk/src/VBox/Runtime/r3/posix/process-creation-posix.cpp

    r62477 r62564  
    314314            rc = VERR_BUFFER_OVERFLOW;
    315315    }
     316#else
     317    RT_NOREF_PV(hEnvToUse); RT_NOREF_PV(fFlags); RT_NOREF_PV(hEnv);
    316318#endif
    317319    return rc;
  • trunk/src/VBox/Runtime/r3/posix/semevent-posix.cpp

    r61751 r62564  
    151151                }
    152152                pThis->fEverHadSignallers = false;
     153#else
     154                RT_NOREF_PV(hClass); RT_NOREF_PV(pszNameFmt);
    153155#endif
    154156
     
    500502    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    501503    RTLockValidatorRecSharedResetOwner(&pThis->Signallers, hThread, NULL);
     504#else
     505    RT_NOREF_PV(hEventSem); RT_NOREF_PV(hThread);
    502506#endif
    503507}
     
    514518    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    515519    RTLockValidatorRecSharedAddOwner(&pThis->Signallers, hThread, NULL);
     520#else
     521    RT_NOREF_PV(hEventSem); RT_NOREF_PV(hThread);
    516522#endif
    517523}
     
    527533
    528534    RTLockValidatorRecSharedRemoveOwner(&pThis->Signallers, hThread);
    529 #endif
    530 }
    531 
     535#else
     536    RT_NOREF_PV(hEventSem); RT_NOREF_PV(hThread);
     537#endif
     538}
     539
  • trunk/src/VBox/Runtime/r3/posix/semeventmulti-posix.cpp

    r61751 r62564  
    167167                    }
    168168                    pThis->fEverHadSignallers = false;
     169#else
     170                    RT_NOREF_PV(hClass); RT_NOREF_PV(pszNameFmt);
    169171#endif
    170172
     
    421423#else
    422424        RTTHREAD hThreadSelf = RTThreadSelf();
     425        RT_NOREF_PV(pSrcPos);
    423426#endif
    424427        RTThreadBlocking(hThreadSelf, RTTHREADSTATE_EVENT_MULTI, true);
     
    632635    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    633636    RTLockValidatorRecSharedResetOwner(&pThis->Signallers, hThread, NULL);
     637#else
     638    RT_NOREF_PV(hEventMultiSem); RT_NOREF_PV(hThread);
    634639#endif
    635640}
     
    646651    ASMAtomicWriteBool(&pThis->fEverHadSignallers, true);
    647652    RTLockValidatorRecSharedAddOwner(&pThis->Signallers, hThread, NULL);
     653#else
     654    RT_NOREF_PV(hEventMultiSem); RT_NOREF_PV(hThread);
    648655#endif
    649656}
     
    659666
    660667    RTLockValidatorRecSharedRemoveOwner(&pThis->Signallers, hThread);
    661 #endif
    662 }
    663 
     668#else
     669    RT_NOREF_PV(hEventMultiSem); RT_NOREF_PV(hThread);
     670#endif
     671}
     672
  • trunk/src/VBox/Runtime/r3/posix/semmutex-posix.cpp

    r61751 r62564  
    149149                va_end(va);
    150150            }
     151#else
     152            RT_NOREF_PV(hClass); RT_NOREF_PV(uSubClass); RT_NOREF_PV(pszNameFmt);
    151153#endif
    152154
     
    211213    return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorRec, uSubClass);
    212214#else
     215    RT_NOREF_PV(hMutexSem); RT_NOREF_PV(uSubClass);
    213216    return RTLOCKVAL_SUB_CLASS_INVALID;
    214217#endif
     
    256259        hThreadSelf = RTThreadSelf();
    257260        RTThreadBlocking(hThreadSelf, RTTHREADSTATE_MUTEX, true);
     261        RT_NOREF_PV(pSrcPos);
    258262#endif
    259263    }
  • trunk/src/VBox/Runtime/r3/posix/semrw-posix.cpp

    r61751 r62564  
    145145            }
    146146            RTLockValidatorRecMakeSiblings(&pThis->ValidatorWrite.Core, &pThis->ValidatorRead.Core);
     147#else
     148            RT_NOREF_PV(hClass); RT_NOREF_PV(uSubClass); RT_NOREF_PV(pszNameFmt);
    147149#endif
    148150            *phRWSem = pThis;
     
    215217    return RTLockValidatorRecExclSetSubClass(&pThis->ValidatorWrite, uSubClass);
    216218#else
     219    RT_NOREF_PV(hRWSem); RT_NOREF_PV(uSubClass);
    217220    return RTLOCKVAL_SUB_CLASS_INVALID;
    218221#endif
     
    264267        hThreadSelf = RTThreadSelf();
    265268        RTThreadBlocking(hThreadSelf, RTTHREADSTATE_RW_READ, true);
     269        RT_NOREF_PV(pSrcPos);
    266270#endif
    267271    }
     
    459463        hThreadSelf = RTThreadSelf();
    460464        RTThreadBlocking(hThreadSelf, RTTHREADSTATE_RW_WRITE, true);
     465        RT_NOREF_PV(pSrcPos);
    461466#endif
    462467    }
  • trunk/src/VBox/Runtime/r3/posix/symlink-posix.cpp

    r62477 r62564  
    9494RTDECL(int) RTSymlinkCreate(const char *pszSymlink, const char *pszTarget, RTSYMLINKTYPE enmType, uint32_t fCreate)
    9595{
     96    RT_NOREF_PV(fCreate);
     97
    9698    /*
    9799     * Validate the input.
     
    132134RTDECL(int) RTSymlinkDelete(const char *pszSymlink, uint32_t fDelete)
    133135{
     136    RT_NOREF_PV(fDelete);
     137
    134138    char const *pszNativeSymlink;
    135139    int rc = rtPathToNative(&pszNativeSymlink, pszSymlink, NULL);
     
    161165RTDECL(int) RTSymlinkRead(const char *pszSymlink, char *pszTarget, size_t cbTarget, uint32_t fRead)
    162166{
     167    RT_NOREF_PV(fRead);
     168
    163169    char *pszMyTarget;
    164170    int rc = RTSymlinkReadA(pszSymlink, &pszMyTarget);
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