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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120601/psModules/src/camera/pmFPARead.c

    r27346 r34044  
    957957        trimsec->y1 = naxis2 + trimsec->y1;
    958958
    959     int maxSize;                        // Number of cols,rows in image
    960     if (readdir == 1) {
    961         maxSize = PS_MIN(naxis2, trimsec->y1 - trimsec->y0);
    962     } else {
    963         maxSize = PS_MIN(naxis1, trimsec->x1 - trimsec->x0);
    964     }
     959    // XX not used int maxSize;                        // Number of cols,rows in image
     960    // XX not used if (readdir == 1) {
     961    // XX not used     maxSize = PS_MIN(naxis2, trimsec->y1 - trimsec->y0);
     962    // XX not used } else {
     963    // XX not used     maxSize = PS_MIN(naxis1, trimsec->x1 - trimsec->x0);
     964    // XX not used }
    965965
    966966    int offset;                         // start of the segment
Note: See TracChangeset for help on using the changeset viewer.