IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12546


Ignore:
Timestamp:
Mar 22, 2007, 8:18:40 AM (19 years ago)
Author:
eugene
Message:

it is not an error for no sources to be found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotOutput.c

    r11726 r12546  
    100100
    101101    // count the number of sources which will be written
    102     for (int i = 0; i < sources->n; i++) {
     102    for (int i = 0; (sources != NULL) && (i < sources->n); i++) {
    103103        pmSource *source = (pmSource *) sources->data[i];
    104104        pmModel *model = pmSourceSelectModel (source);
Note: See TracChangeset for help on using the changeset viewer.