Changeset 62564 in vbox for trunk/src/VBox/Runtime/common/asn1/asn1-ut-null.cpp
- Timestamp:
- Jul 26, 2016 2:43:03 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/asn1/asn1-ut-null.cpp
r62477 r62564 67 67 RTDECL(int) RTAsn1Null_Init(PRTASN1NULL pThis, PCRTASN1ALLOCATORVTABLE pAllocator) 68 68 { 69 RT_NOREF_PV(pAllocator); 69 70 return RTAsn1Core_InitEx(&pThis->Asn1Core, ASN1_TAG_NULL, ASN1_TAGCLASS_UNIVERSAL | ASN1_TAGFLAG_PRIMITIVE, 70 71 &g_RTAsn1Null_Vtable, RTASN1CORE_F_PRESENT | RTASN1CORE_F_PRIMITE_TAG_STRUCT); … … 74 75 RTDECL(int) RTAsn1Null_Clone(PRTASN1NULL pThis, PCRTASN1NULL pSrc, PCRTASN1ALLOCATORVTABLE pAllocator) 75 76 { 76 AssertPtr(pSrc); AssertPtr(pThis); AssertPtr(pAllocator); 77 AssertPtr(pSrc); AssertPtr(pThis); AssertPtr(pAllocator); RT_NOREF_PV(pAllocator); 77 78 RT_ZERO(*pThis); 78 79 if (RTAsn1Null_IsPresent(pSrc)) … … 102 103 RTDECL(int) RTAsn1Null_Enum(PRTASN1NULL pThis, PFNRTASN1ENUMCALLBACK pfnCallback, uint32_t uDepth, void *pvUser) 103 104 { 105 RT_NOREF_PV(pThis); RT_NOREF_PV(pfnCallback); RT_NOREF_PV(uDepth); RT_NOREF_PV(pvUser); 104 106 Assert(pThis && (!RTAsn1Null_IsPresent(pThis) || pThis->Asn1Core.pOps == &g_RTAsn1Null_Vtable)); 105 107 … … 120 122 RTDECL(int) RTAsn1Null_CheckSanity(PCRTASN1NULL pThis, uint32_t fFlags, PRTERRINFO pErrInfo, const char *pszErrorTag) 121 123 { 124 RT_NOREF_PV(fFlags); 122 125 if (RT_UNLIKELY(!RTAsn1Null_IsPresent(pThis))) 123 126 return RTErrInfoSetF(pErrInfo, VERR_ASN1_NOT_PRESENT, "%s: Missing (NULL).", pszErrorTag);
Note:
See TracChangeset
for help on using the changeset viewer.