VirtualBox

Changeset 39080 in vbox for trunk


Ignore:
Timestamp:
Oct 21, 2011 2:26:05 PM (13 years ago)
Author:
vboxsync
Message:

IPRT: Started -Wunused-parameter cleanup.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/alloc/memtracker.cpp

    r36674 r39080  
    635635         *        attribute the free operation if the tags differ - it
    636636         *        makes sense at all... */
     637        NOREF(pszTag);
    637638        if (pHdr->pTag)
    638639            rtMemTrackerStateRecordFree(&pHdr->pTag->Stats, pHdr->cbUser, enmMethod);
     
    931932static DECLCALLBACK(void) rtMemTrackerDumpLogOutput(PRTMEMTRACKEROUTPUT pThis, const char *pszFormat, ...)
    932933{
     934    NOREF(pThis);
    933935    va_list va;
    934936    va_start(va, pszFormat);
     
    972974static DECLCALLBACK(void) rtMemTrackerDumpLogRelOutput(PRTMEMTRACKEROUTPUT pThis, const char *pszFormat, ...)
    973975{
     976    NOREF(pThis);
    974977    va_list va;
    975978    va_start(va, pszFormat);
  • trunk/src/VBox/Runtime/common/checksum/ipv4.cpp

    r33540 r39080  
    651651RTDECL(bool) RTNetIPv4IsDHCPValid(PCRTNETUDP pUdpHdr, PCRTNETBOOTP pDhcp, size_t cbDhcp, uint8_t *pMsgType)
    652652{
    653     ssize_t cbLeft;
    654     uint8_t MsgType;
    655     PCRTNETDHCPOPT pOpt;
     653    ssize_t         cbLeft;
     654    uint8_t         MsgType;
     655    PCRTNETDHCPOPT  pOpt;
     656    NOREF(pUdpHdr); /** @todo rainy-day: Why isn't the UDP header used? */
    656657
    657658    AssertPtrNull(pMsgType);
  • trunk/src/VBox/Runtime/common/checksum/manifest2.cpp

    r34941 r39080  
    226226    pAttr->pszValue = NULL;
    227227    RTMemFree(pAttr);
     228    NOREF(pvUser);
    228229    return 0;
    229230}
     
    300301    PRTMANIFESTATTR pAttr = RT_FROM_MEMBER(pStr, RTMANIFESTATTR, StrCore);
    301302    pAttr->fVisited = false;
     303    NOREF(pvUser);
    302304    return 0;
    303305}
     
    312314    RTStrSpaceEnumerate(&pEntry->Attributes, rtManifestAttributeClearVisited, NULL);
    313315    pEntry->fVisited = false;
     316    NOREF(pvUser);
    314317    return 0;
    315318}
  • trunk/src/VBox/Runtime/common/checksum/manifest3.cpp

    r35351 r39080  
    318318    if (RT_SUCCESS(rc))
    319319        rtManifestPtIos_UpdateHashes(pThis, pSgBuf, pcbRead ? *pcbRead : ~(size_t)0);
     320    Assert(off == -1); NOREF(off);
    320321    return rc;
    321322}
     
    331332    if (RT_SUCCESS(rc))
    332333        rtManifestPtIos_UpdateHashes(pThis, pSgBuf, pcbWritten ? *pcbWritten : ~(size_t)0);
     334    Assert(off == -1); NOREF(off);
    333335    return rc;
    334336}
Note: See TracChangeset for help on using the changeset viewer.

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