Changeset 62564 in vbox for trunk/src/VBox/Runtime/common/ldr/ldrkStuff.cpp
- Timestamp:
- Jul 26, 2016 2:43:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/ldr/ldrkStuff.cpp
r62477 r62564 600 600 { 601 601 PRTLDRMODKLDRARGS pArgs = (PRTLDRMODKLDRARGS)pvUser; 602 NOREF(pMod); 602 RT_NOREF_PV(pMod); RT_NOREF_PV(iMajorVer); RT_NOREF_PV(iMinorVer); 603 603 604 604 605 RTLDRDBGINFO DbgInfo; … … 832 833 { 833 834 PRTLDRMODKLDR pThis = (PRTLDRMODKLDR)pMod; 835 RT_NOREF_PV(iDbgInfo); 834 836 /** @todo May have to apply fixups here. */ 835 837 return pThis->Core.pReader->pfnRead(pThis->Core.pReader, pvBuf, cb, off); … … 850 852 return VERR_NOT_FOUND; 851 853 AssertReturn(rc == 0, VERR_INVALID_PARAMETER); 854 cbBuf = RT_MIN(cbBuf, sizeof(RTUUID)); 852 855 break; 853 856 854 857 default: 858 RT_NOREF_PV(pvBits); 855 859 return VERR_NOT_FOUND; 856 860 } 861 if (pcbRet) 862 *pcbRet = cbBuf; 857 863 return VINF_SUCCESS; 858 864 } … … 901 907 int rtldrkLdrOpen(PRTLDRREADER pReader, uint32_t fFlags, RTLDRARCH enmArch, PRTLDRMOD phLdrMod, PRTERRINFO pErrInfo) 902 908 { 909 RT_NOREF_PV(pErrInfo); 910 903 911 /* Convert enmArch to k-speak. */ 904 912 KCPUARCH enmCpuArch;
Note:
See TracChangeset
for help on using the changeset viewer.