IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 21, 2006, 3:12:34 PM (20 years ago)
Author:
jhoblitt
Message:

check function parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/p2writePendingFrames.c

    r6106 r6133  
    33// select pending frames (exposure+images) which are done/not done
    44bool p2writePendingFrames (p2Config *config, psArray *frames) {
     5    PS_ASSERT_PTR_NON_NULL(config, false);
     6    PS_ASSERT_PTR_NON_NULL(frames, false);
    57
    68    fprintf (stdout, "# exp_id class class_id url\n");
     
    810    for (int i = 0; i < frames->n; i++) {
    911        p2PendingFrame *frame = frames->data[i];
     12        PS_ASSERT_PTR_NON_NULL(frame, false);
     13        PS_ASSERT_PTR_NON_NULL(frame->images, false);
     14
    1015        for (int j = 0; j < frame->images->n; j++) {
    1116            p2PendingImfileRow *image = frame->images->data[j];
Note: See TracChangeset for help on using the changeset viewer.