IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8257 for trunk/psLib/src/types


Ignore:
Timestamp:
Aug 9, 2006, 4:22:15 PM (20 years ago)
Author:
drobbin
Message:

edited psMetadataItemParse and tap test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psMetadataItemParse.c

    r7766 r8257  
    255255                                  )
    256256{
    257     PS_ASSERT_PTR_NON_NULL(item, psStringCopy(""));
     257    PS_ASSERT_PTR_NON_NULL(item, NULL);
    258258
    259259    switch (item->type) {
     
    271271
    272272    default:
    273         psError(PS_ERR_BAD_PARAMETER_TYPE, true, "Item %s (%s) is not of string type (%x) --- treating as "
     273        psError(PS_ERR_BAD_PARAMETER_TYPE, true,
     274                "Item %s (%s) is not of string type (%x) --- treating as "
    274275                "undefined.\n", item->name, item->comment, item->type);
    275         return psStringCopy("");
    276     }
    277 }
    278 
     276        //        return psStringCopy("");
     277        return NULL;
     278    }
     279}
     280
Note: See TracChangeset for help on using the changeset viewer.