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/laptool.c

    r33336 r34081  
    464464
    465465  psMetadata *where = psMetadataAlloc();
    466   PXOPT_LOOKUP_S64(lap_id, config->args, "-lap_id", true, false);
     466
     467  // require? PXOPT_LOOKUP_S64(lap_id, config->args, "-lap_id", true, false);
    467468  PXOPT_COPY_S64(config->args, where, "-lap_id", "lap_id", "==");
    468469
     
    633634{
    634635  PS_ASSERT_PTR_NON_NULL(config, false);
    635   PXOPT_LOOKUP_S64(lap_id, config->args, "-lap_id", true, false);
    636 
     636
     637  // require? PXOPT_LOOKUP_S64(lap_id, config->args, "-lap_id", true, false);
    637638  PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false);
    638639  PXOPT_LOOKUP_U64(limit, config->args, "-limit", false, false);
     
    705706
    706707  psMetadata *where = psMetadataAlloc();
    707   PXOPT_LOOKUP_S64(lap_id,  config->args, "-lap_id",  true, false);
    708   PXOPT_LOOKUP_S64(exp_id,  config->args, "-exp_id",  true, false);
    709   PXOPT_LOOKUP_S64(chip_id, config->args, "-chip_id", false, false);
     708
     709  // test for required opts?
     710  // PXOPT_LOOKUP_S64(lap_id,  config->args, "-lap_id",  true, false);
     711  // PXOPT_LOOKUP_S64(exp_id,  config->args, "-exp_id",  true, false);
     712  // PXOPT_LOOKUP_S64(chip_id, config->args, "-chip_id", false, false);
    710713
    711714  PXOPT_LOOKUP_S64(set_chip_id, config->args, "-set_chip_id", false, false);
     
    841844{
    842845  PS_ASSERT_PTR_NON_NULL(config, false);
    843   PXOPT_LOOKUP_S64(lap_id,          config->args, "-lap_id",          true, false);
     846
     847  // PXOPT_LOOKUP_S64(lap_id,          config->args, "-lap_id",          true, false);
    844848 
    845849  psMetadata *where = psMetadataAlloc();
Note: See TracChangeset for help on using the changeset viewer.