IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 31, 2007, 5:15:13 PM (19 years ago)
Author:
magnier
Message:

pedantic initialization of variables

File:
1 edited

Legend:

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

    r10705 r11527  
    183183    }
    184184
    185     bool (*hduReadFunc)(pmHDU*, psFits*); // Function to use to read the HDU
    186     psArray **imageArray;              // Array of images in the HDU
    187     psElemType imageType;              // Expected type for image
     185    bool (*hduReadFunc)(pmHDU*, psFits*) = NULL; // Function to use to read the HDU
     186    psArray **imageArray = NULL; // Array of images in the HDU
     187    psElemType imageType = PS_TYPE_F32; // Expected type for image
    188188    switch (type) {
    189189    case FPA_READ_TYPE_IMAGE:
     
    245245        }
    246246
    247         psImage **target;               // Place in readout to put carved image
     247        psImage **target = NULL;               // Place in readout to put carved image
    248248        switch (type) {
    249249        case FPA_READ_TYPE_IMAGE:
Note: See TracChangeset for help on using the changeset viewer.