Changeset 92261 in vbox for trunk/src/VBox/Devices/Audio/AudioTest.cpp
- Timestamp:
- Nov 8, 2021 10:31:38 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/AudioTest.cpp
r92235 r92261 1178 1178 /* Update number of bound test objects. */ 1179 1179 PAUDIOTESTENTRY pTest; 1180 uint32_t cTests = 0; 1180 1181 RTListForEach(&pSet->lstTest, pTest, AUDIOTESTENTRY, Node) 1181 1182 { … … 1184 1185 rc = audioTestManifestWrite(pSet, "%04RU32", pTest->cObj); 1185 1186 AssertRCReturn(rc, rc); 1187 cTests++; /* Sanity checking. */ 1186 1188 } 1187 1189 1190 AssertMsgReturn(pSet->cTests == cTests, ("Test count and list don't match"), VERR_INTERNAL_ERROR); 1191 1188 1192 /* 1189 * Update number of ran tests.1193 * Update number of total objects. 1190 1194 */ 1191 1195 rc = RTFileSeek(pSet->f.hFile, pSet->offObjCount, RTFILE_SEEK_BEGIN, NULL); … … 1195 1199 1196 1200 /* 1197 * Update number of rantests.1201 * Update number of total tests. 1198 1202 */ 1199 1203 rc = RTFileSeek(pSet->f.hFile, pSet->offTestCount, RTFILE_SEEK_BEGIN, NULL); … … 1209 1213 1210 1214 PAUDIOTESTOBJINT pObj; 1215 uint32_t cObj = 0; 1211 1216 RTListForEach(&pSet->lstObj, pObj, AUDIOTESTOBJINT, Node) 1212 1217 { … … 1261 1266 } 1262 1267 } 1268 1269 cObj++; /* Sanity checking. */ 1263 1270 } 1271 1272 AssertMsgReturn(pSet->cObj == cObj, ("Object count and list don't match"), VERR_INTERNAL_ERROR); 1264 1273 1265 1274 int rc2 = RTFileClose(pSet->f.hFile);
Note:
See TracChangeset
for help on using the changeset viewer.