IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 5, 2007, 2:37:00 PM (19 years ago)
Author:
Paul Price
Message:

Avoiding error for when header can't be found.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsRead.c

    r12696 r12763  
    343343                            value = psMetadataLookup(hduHigh->header, key);
    344344                        }
    345                         if (!value) {
     345                        if (value) {
     346                            psListAdd(values, PS_LIST_TAIL, value);
     347                        } else {
    346348                            psWarning("Unable to find header %s --- assuming value is NULL", key);
    347349                        }
    348                         psListAdd(values, PS_LIST_TAIL, value);
    349350                    }
    350351                    psFree(keysIter);
Note: See TracChangeset for help on using the changeset viewer.