IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12504


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

fix variable uninitialized warnings

Location:
trunk/psModules/src
Files:
3 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) {
  • trunk/psModules/src/config/pmConfig.c

    r12501 r12504  
    44 *  @author EAM (IfA)
    55 *
    6  *  @version $Revision: 1.78 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2007-03-20 00:52:16 $
     6 *  @version $Revision: 1.79 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2007-03-20 01:30:45 $
    88 *
    99 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    427427                    continue;
    428428                }
    429                 psTrace("psModules.config", 7, "Setting trace level for %s to %d\n", traceItem->name,
    430                         traceItem->data.S32);
     429                psTrace("psModules.config", 7, "Setting trace level for %s to %d\n", traceItem->name, traceItem->data.S32);
    431430                (void)psTraceSetLevel(traceItem->name, traceItem->data.S32);
    432431            }
  • trunk/psModules/src/detrend/pmShifts.c

    r12264 r12504  
    211211        psMetadata *row = table->data[i]; // The row of interest
    212212
    213         const char *chipName;           // Name of chip
     213        const char *chipName = NULL;    // Name of chip
    214214        if (phuLevel == PM_FPA_LEVEL_FPA) {
    215215            // Only care about the chip name if there's more than one chip
     
    223223            }
    224224        }
    225         const char *cellName;           // Name of cell
     225        const char *cellName = NULL;    // Name of cell
    226226        if (phuLevel <= PM_FPA_LEVEL_CHIP) {
    227227            // Only care about the cell name if there's a chip
Note: See TracChangeset for help on using the changeset viewer.