Changeset 7018 in vbox
- Timestamp:
- Feb 19, 2008 2:12:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp
r6801 r7018 1190 1190 unsigned cTodo2nd = 0; 1191 1191 unsigned cTodo3rd = 0; 1192 for (unsigned i = pGVMM->iUsedHead ;1192 for (unsigned i = pGVMM->iUsedHead, cGuard = 0; 1193 1193 i != NIL_GVM_HANDLE && i < RT_ELEMENTS(pGVMM->aHandles); 1194 1194 i = pGVMM->aHandles[i].iNext) … … 1220 1220 } 1221 1221 } 1222 AssertLogRelBreak(cGuard++ < RT_ELEMENTS(pGVMM->aHandles)); 1222 1223 } 1223 1224 1224 1225 if (cTodo2nd) 1225 1226 { 1226 for (unsigned i = pGVMM->iUsedHead ;1227 for (unsigned i = pGVMM->iUsedHead, cGuard; 1227 1228 i != NIL_GVM_HANDLE && i < RT_ELEMENTS(pGVMM->aHandles); 1228 1229 i = pGVMM->aHandles[i].iNext) … … 1241 1242 } 1242 1243 } 1244 AssertLogRelBreak(cGuard++ < RT_ELEMENTS(pGVMM->aHandles)); 1243 1245 } 1244 1246 } … … 1246 1248 if (cTodo3rd) 1247 1249 { 1248 for (unsigned i = pGVMM->iUsedHead ;1250 for (unsigned i = pGVMM->iUsedHead, cGuard = 0; 1249 1251 i != NIL_GVM_HANDLE && i < RT_ELEMENTS(pGVMM->aHandles); 1250 1252 i = pGVMM->aHandles[i].iNext) … … 1263 1265 } 1264 1266 } 1267 AssertLogRelBreak(cGuard++ < RT_ELEMENTS(pGVMM->aHandles)); 1265 1268 } 1266 1269 }
Note:
See TracChangeset
for help on using the changeset viewer.