IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 12, 2007, 9:26:53 AM (19 years ago)
Author:
Paul Price
Message:

Accept NULL region.

File:
1 edited

Legend:

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

    r15299 r15300  
    332332psList *p_pmConceptParseRegions(const char *region)
    333333{
    334     assert(region && strlen(region) > 0);
    335 
    336334    psList *list = psListAlloc(NULL);   // List of regions
     335    if (!region || strlen(region) == 0) {
     336        // Empty list
     337        return list;
     338    }
    337339
    338340    // a single BIASSEC is of the form [AAAA]
Note: See TracChangeset for help on using the changeset viewer.