Changeset 66819 in vbox for trunk/src/VBox/GuestHost/OpenGL/util
- Timestamp:
- May 8, 2017 3:04:32 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/util/htable.cpp
r63369 r66819 114 114 VBOXHTABLEDECL(int) CrHTablePutToSlot(PCRHTABLE pTbl, CRHTABLE_HANDLE hHandle, void* pvData) 115 115 { 116 if (!pvData) 117 { 118 AssertMsgFailed(("pvData is NULL\n")); 119 return VERR_INVALID_PARAMETER; 120 } 116 AssertReturn(pvData, VERR_INVALID_PARAMETER); 121 117 uint32_t iIndex = crHTableHandle2Index(hHandle); 122 118 if (iIndex >= pTbl->cSize) … … 137 133 VBOXHTABLEDECL(CRHTABLE_HANDLE) CrHTablePut(PCRHTABLE pTbl, void* pvData) 138 134 { 139 if (!pvData) 140 { 141 AssertMsgFailed(("pvData is NULL\n")); 142 return VERR_INVALID_PARAMETER; 143 } 135 AssertReturn(pvData, CRHTABLE_HANDLE_INVALID); 144 136 145 137 if (pTbl->cSize == pTbl->cData)
Note:
See TracChangeset
for help on using the changeset viewer.