IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12567


Ignore:
Timestamp:
Mar 23, 2007, 11:51:02 AM (19 years ago)
Author:
Paul Price
Message:

Removing unused variable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpArguments.c

    r12547 r12567  
    88
    99    if (argc == 1) {
    10         psError(PSWARP_ERR_ARGUMENTS, true, "No arguments supplied");
    11         return NULL;
     10        psError(PSWARP_ERR_ARGUMENTS, true, "No arguments supplied");
     11        return NULL;
    1212    }
    1313
     
    2121    // save the following additional recipe values based on command-line options
    2222    // these options override the PSWARP recipe values loaded from recipe files
    23     psMetadata *options = pmConfigRecipeOptions (config, PSWARP_RECIPE);
     23    pmConfigRecipeOptions (config, PSWARP_RECIPE);
    2424
    2525    pmConfigFileSetsMD (config->arguments, config, "ASTROM",   "-astrom", "-astromlist");
     
    3434    status = pmConfigFileSetsMD (config->arguments, config, "INPUT", "-file", "-list");
    3535    if (!status) {
    36         psError(PSWARP_ERR_ARGUMENTS, true, "Missing -file (input) or -list (input)");
    37         return NULL;
     36        psError(PSWARP_ERR_ARGUMENTS, true, "Missing -file (input) or -list (input)");
     37        return NULL;
    3838    }
    39    
     39
    4040    // the mask and weight entries are optional (build from gain?)
    4141    pmConfigFileSetsMD (config->arguments, config, "MASK",   "-mask",   "-masklist");
    4242    pmConfigFileSetsMD (config->arguments, config, "WEIGHT", "-weight", "-weightlist");
    43    
     43
    4444    if (argc != 3) {
    45         psError(PSWARP_ERR_ARGUMENTS, true, "Incorrect arguments supplied");
    46         return NULL;
     45        psError(PSWARP_ERR_ARGUMENTS, true, "Incorrect arguments supplied");
     46        return NULL;
    4747    }
    48    
     48
    4949    psArray *array;
    5050
Note: See TracChangeset for help on using the changeset viewer.