Changeset 12464 for trunk/FACT++
- Timestamp:
- 11/09/11 02:55:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/EventBuilder.c
r12463 r12464 234 234 if (EtiMemoryChunks[chunkIndex].pointers[0] == NULL) 235 235 { 236 factOut(kError, "Chunk %d not allocated as it ought to be. Skipping release", chunkIndex); 236 snprintf(str, MXSTR, "Chunk %d not allocated as it ought to be. Skipping release", chunkIndex); 237 factOut(kError, 000, str); 237 238 return; 238 239 } … … 452 453 // initialize mBuffer (mark all entries as unused\empty) 453 454 454 int i ;455 int i,j; 455 456 uint32_t actime; 456 457 … … 469 470 mBufferMapping[i].eventNumber = -1; 470 471 mBufferMapping[i].slot = -1; 471 for ( i=0;i<MAX_CHUNKS;i++)472 EtiMemoryChunks[ i].pointers[0] = NULL;472 for (j=0;j<MAX_CHUNKS;j++) 473 EtiMemoryChunks[j].pointers[0] = NULL; 473 474 //END ETIENNE 474 475 }
Note:
See TracChangeset
for help on using the changeset viewer.