VirtualBox

Ignore:
Timestamp:
Jul 26, 2016 2:43:03 PM (9 years ago)
Author:
vboxsync
Message:

IPRT: Mark unused parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrkStuff.cpp

    r62477 r62564  
    600600{
    601601    PRTLDRMODKLDRARGS pArgs = (PRTLDRMODKLDRARGS)pvUser;
    602     NOREF(pMod);
     602    RT_NOREF_PV(pMod); RT_NOREF_PV(iMajorVer); RT_NOREF_PV(iMinorVer);
     603
    603604
    604605    RTLDRDBGINFO DbgInfo;
     
    832833{
    833834    PRTLDRMODKLDR   pThis = (PRTLDRMODKLDR)pMod;
     835    RT_NOREF_PV(iDbgInfo);
    834836    /** @todo May have to apply fixups here. */
    835837    return pThis->Core.pReader->pfnRead(pThis->Core.pReader, pvBuf, cb, off);
     
    850852                return VERR_NOT_FOUND;
    851853            AssertReturn(rc == 0, VERR_INVALID_PARAMETER);
     854            cbBuf = RT_MIN(cbBuf, sizeof(RTUUID));
    852855            break;
    853856
    854857        default:
     858            RT_NOREF_PV(pvBits);
    855859            return VERR_NOT_FOUND;
    856860    }
     861    if (pcbRet)
     862        *pcbRet = cbBuf;
    857863    return VINF_SUCCESS;
    858864}
     
    901907int rtldrkLdrOpen(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, PRTLDRMOD phLdrMod, PRTERRINFO pErrInfo)
    902908{
     909    RT_NOREF_PV(pErrInfo);
     910
    903911    /* Convert enmArch to k-speak. */
    904912    KCPUARCH enmCpuArch;
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