IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7829


Ignore:
Timestamp:
Jul 5, 2006, 5:37:14 PM (20 years ago)
Author:
Paul Price
Message:

Don't have to allocate config->arguments.

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppFocusArguments.c

    r7818 r7829  
    1919        exit(EXIT_FAILURE);
    2020    }
    21 
    22     // Storage for other command-line arguments
    23     config->arguments = psMetadataAlloc(); // The arguments, with default values
    2421
    2522    // save these recipe options until we have loaded the options
  • trunk/ppImage/src/ppImageArguments.c

    r7818 r7829  
    1919        exit(EXIT_FAILURE);
    2020    }
    21 
    22     // Storage for other command-line arguments
    23     config->arguments = psMetadataAlloc(); // The arguments, with default values
    2421
    2522    // save these recipe options until we have loaded the options
  • trunk/ppImage/src/ppTest.c

    r7818 r7829  
    1818
    1919    // Parse other command-line arguments
    20     config->arguments = psMetadataAlloc(); // The arguments, with default values
    2120    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "-key", 0, "exposure ID", "");
    2221    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "-bias", 0, "Name of the bias image", "");
  • trunk/ppMerge/src/ppMergeConfig.c

    r7818 r7829  
    2929
    3030    // Command-line arguments
    31     config->arguments = psMetadataAlloc(); // The arguments, with default values
    3231    psMetadataAddStr(config->arguments, PS_LIST_TAIL, "-type", 0, "Type of calibration frame", "");
    3332    psMetadataAddBool(config->arguments, PS_LIST_TAIL, "-zero", 0, "Subtract background?", false);
  • trunk/psastro/src/psastroArguments.c

    r7818 r7829  
    3131    pmConfig *config = pmConfigRead(&argc, argv);
    3232
    33     // Storage for other command-line arguments
    34     config->arguments = psMetadataAlloc ();
    35 
    3633    // save these recipe options until we have loaded the options
    3734    psMetadataAddPtr (config->arguments, PS_LIST_TAIL, "PSASTRO.OPTIONS",  PS_DATA_METADATA, "", options);
  • trunk/psphot/src/psphotArguments.c

    r7818 r7829  
    1818        return NULL;
    1919    }
    20 
    21     // Storage for other command-line arguments
    22     config->arguments = psMetadataAlloc ();
    2320
    2421    // save the recipe options separately until we have loaded the recipe (psphotParseDetrend)
Note: See TracChangeset for help on using the changeset viewer.