IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:19:48 AM (14 years ago)
Author:
eugene
Message:

fix a number of cases of unused variables (set but otherwise not used); some of these may have been used to check the presence of a mandatory argument

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src

  • trunk/ippTools/src/chiptool.c

    r33617 r34081  
    254254    PS_ASSERT_PTR_NON_NULL(config, NULL);
    255255
    256     PXOPT_LOOKUP_S64(exp_id, config->args, "-exp_id", false, false);
     256    // PXOPT_LOOKUP_S64(exp_id, config->args, "-exp_id", false, false);
    257257
    258258    psMetadata *where = psMetadataAlloc();
     
    346346    PS_ASSERT_PTR_NON_NULL(config, NULL);
    347347
    348     PXOPT_LOOKUP_S64(exp_id, config->args, "-exp_id", false, false);
     348    // PXOPT_LOOKUP_S64(exp_id, config->args, "-exp_id", false, false);
    349349
    350350    psMetadata *where = psMetadataAlloc();
     
    10171017    PXOPT_COPY_S64(config->args, where, "-cam_id", "cam_id", "==");
    10181018
    1019     PXOPT_LOOKUP_S64(cam_id, config->args, "-cam_id", false, false);
     1019    // PXOPT_LOOKUP_S64(cam_id, config->args, "-cam_id", false, false);
    10201020    // if cam_id is not supplied chip_id is required
    1021     PXOPT_LOOKUP_S64(chip_id, config->args, "-chip_id", cam_id ? false : true, false);
    1022     PXOPT_LOOKUP_S64(class_id, config->args, "-class_id", true, false);
     1021    // PXOPT_LOOKUP_S64(chip_id, config->args, "-chip_id", cam_id ? false : true, false);
     1022    // PXOPT_LOOKUP_S64(class_id, config->args, "-class_id", true, false);
    10231023    PXOPT_LOOKUP_S16(quality, config->args, "-set_quality", true, false);
    10241024
     
    17741774  PS_ASSERT_PTR_NON_NULL(config, NULL);
    17751775
    1776   PXOPT_LOOKUP_S64(dummy, config->args, "-chip_id", true,  false);
     1776  // PXOPT_LOOKUP_S64(dummy, config->args, "-chip_id", true,  false);
    17771777  PXOPT_LOOKUP_STR(outfile, config->args, "-outfile", true,  false);
    17781778  PXOPT_LOOKUP_U64(limit,   config->args, "-limit",   false, false);
     
    19371937
    19381938//    PXOPT_LOOKUP_BOOL(all, config->args, "-all", false);
    1939     PXOPT_LOOKUP_BOOL(no_magic, config->args, "-no_magic", false);
     1939    // PXOPT_LOOKUP_BOOL(no_magic, config->args, "-no_magic", false);
    19401940
    19411941    PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
Note: See TracChangeset for help on using the changeset viewer.