Changeset 32413 for trunk/ppTranslate/src/ppMopsWrite.c
- Timestamp:
- Sep 19, 2011, 3:26:31 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ppTranslate/src/ppMopsWrite.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppTranslate/src/ppMopsWrite.c
r32406 r32413 64 64 for (long i=0; i<detections->n; i++) { 65 65 ppMopsDetections *det = detections->data[i]; 66 if (!det) { 67 continue; 68 } 66 69 total += det->num; 67 70 } … … 257 260 for (long i=0; i<detections->n; i++) { 258 261 ppMopsDetections *det = detections->data[i]; 259 if ( det->num == 0) {262 if (!det || det->num == 0) { 260 263 // no detections survived for this input 261 264 continue; … … 292 295 for (long i=0; i<detections->n; i++) { 293 296 ppMopsDetections *det = detections->data[i]; 294 if ( det->num == 0) {297 if (!det || det->num == 0) { 295 298 // no detections survived for this input 296 299 continue; … … 362 365 for (long i = 0; i<detections->n; i++) { 363 366 ppMopsDetections *det = detections->data[i]; 367 if (!det) { 368 continue; 369 } 364 370 psS64 diffSkyfileId = det->diffSkyfileId; 365 371 for (long j = 0; j < det->num; j++) {
Note:
See TracChangeset
for help on using the changeset viewer.
