IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 19, 2007, 3:30:45 PM (19 years ago)
Author:
jhoblitt
Message:

fix variable uninitialized warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmCellSquish.c

    r12265 r12504  
    2323    }
    2424
    25     pmShifts *shifts;                   // Orthogonal transfer shifts
     25    pmShifts *shifts = NULL;                   // Orthogonal transfer shifts
    2626    if (useShifts) {
    2727        bool mdok;                      // Status of MD lookup
     
    4040
    4141    // First pass to get the bounds, make sure everything is legit.
    42     int xMin, xMax, yMin, yMax;        // Bounds of the squish
     42    int xMin = 0, xMax = 0, yMin = 0, yMax = 0; // Bounds of the squish
    4343    bool valid = false;                 // Do we have a valid readout?
    44     int col0, row0, numCols, numRows;   // Window parameters for the readouts
     44    int col0 = 0, row0 = 0, numCols = 0, numRows = 0;// Window parameters for the readouts
    4545    int xShift = 0, yShift = 0;         // Shift due to orthogonal transfer, to be applied
    4646    if (useShifts && shifts->xyRelative) {
Note: See TracChangeset for help on using the changeset viewer.