IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 20, 2012, 6:58:23 AM (14 years ago)
Author:
eugene
Message:

fixes to address compile time errors due to pedantic gcc warnings

Location:
branches/eam_branches/ipp-20120601/psModules/src/detrend
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120601/psModules/src/detrend/pmNonLinear.c

    r29935 r34044  
    8282    }
    8383    PS_ASSERT_PTR_NON_NULL(outFlux,NULL);
    84     psS32 tableSize = inFlux->n;
     84    // XXX unused psS32 tableSize = inFlux->n;
    8585    if (inFlux->n != outFlux->n) {
    86         tableSize = PS_MIN(inFlux->n, outFlux->n);
     86        // XXX unused tableSize = PS_MIN(inFlux->n, outFlux->n);
    8787        psLogMsg(__func__, PS_LOG_WARN,
    8888                 "WARNING: pmNonLinear.c: pmNonLinearityLookup(): "
  • branches/eam_branches/ipp-20120601/psModules/src/detrend/pmShutterCorrection.c

    r33089 r34044  
    406406
    407407    // Check input sizes, generate first-pass statistics
    408     psRegion refRegion;                 // Reference region
    409408    psVector *refs = psVectorAlloc(num, PS_TYPE_F32); // Reference measurements
    410409    psVectorInit(refs, 0);
     
    441440            numCols = image->numCols;
    442441            // define the reference region : a box of size 'size' at the center
    443             refRegion = psRegionForSquare(0.5 * numCols, 0.5 * numRows, size);
     442            // XXX unused psRegion refRegion = psRegionForSquare(0.5 * numCols, 0.5 * numRows, size);
    444443            // Set up the sample regions : boxes of size 'size' at the 4 image corners
    445444            for (int j = 0; j < MEASURE_SAMPLES; j++) {
Note: See TracChangeset for help on using the changeset viewer.