IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23299


Ignore:
Timestamp:
Mar 12, 2009, 12:17:27 PM (17 years ago)
Author:
Paul Price
Message:

Error handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubCamera.c

    r23298 r23299  
    218218    // Output subtraction kernel
    219219    pmFPAfile *kernel = defineCalcFile(config, output, "PPSUB.OUTPUT.KERNELS", PM_FPA_FILE_SUBKERNEL);
    220 
     220    if (!kernel) {
     221        psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to define file PPSUB.OUTPUT.KERNELS");
     222        return false;
     223    }
    221224
    222225    psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSUB_RECIPE); // Recipe for ppSim
Note: See TracChangeset for help on using the changeset viewer.