IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7845


Ignore:
Timestamp:
Jul 7, 2006, 2:40:35 PM (20 years ago)
Author:
jhoblitt
Message:

remove unnecessary PS_META_DUPLICATE_OK flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/dettool.c

    r7695 r7845  
    260260        }
    261261        // add values
    262         if (!psMetadataAddS32(md, PS_LIST_TAIL, "det_id", PS_META_DUPLICATE_OK,
    263                 NULL, det_id)) {
     262        if (!psMetadataAddS32(md, PS_LIST_TAIL, "det_id", 0, NULL, det_id)) {
    264263            psError(PS_ERR_UNKNOWN, false, "failed to add item det_id");
    265264            psFree(output);
     
    268267            return false;
    269268        }
    270         if (!psMetadataAddStr(md, PS_LIST_TAIL, "det_type",
    271                     PS_META_DUPLICATE_OK, NULL, det_type)) {
     269        if (!psMetadataAddStr(md, PS_LIST_TAIL, "det_type", 0, NULL, det_type)) {
    272270            psError(PS_ERR_UNKNOWN, false, "failed to add item det_type");
    273271            psFree(output);
Note: See TracChangeset for help on using the changeset viewer.