IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27659


Ignore:
Timestamp:
Apr 11, 2010, 5:09:17 PM (16 years ago)
Author:
eugene
Message:

add assert on item existence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroLoadRefstars.c

    r27417 r27659  
    6969
    7070        psMetadataItem *item = psListGet(catdir_folder->list, entry);
     71        assert (item);
    7172        if (item->type != PS_DATA_STRING) {
    7273            psError(PSASTRO_ERR_CONFIG, true, "Invalid entry in PSASTRO.CATDIR folder: %s\n", item->name);
Note: See TracChangeset for help on using the changeset viewer.