IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 12, 2007, 9:33:15 AM (19 years ago)
Author:
Paul Price
Message:

Some values are not required if we are passing an error code.

File:
1 edited

Legend:

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

    r14112 r15301  
    506506        return false;
    507507    }
    508     if (!uri) {
    509         psError(PS_ERR_UNKNOWN, true, "-uri is required");
    510         return false;
    511     }
     508
    512509    psString path_base = psMetadataLookupStr(&status, config->args, "-path_base");
    513510    if (!status) {
    514511        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -path_base");
    515         return false;
    516     }
    517     if (!path_base) {
    518         psError(PS_ERR_UNKNOWN, true, "-path_base is required");
    519512        return false;
    520513    }
     
    671664{
    672665    PS_ASSERT_PTR_NON_NULL(config, false);
    673    
     666
    674667    psString query = pxDataGet("stacktool_revertsumskyfile.sql");
    675668    if (!query) {
Note: See TracChangeset for help on using the changeset viewer.