IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 26, 2010, 12:01:22 PM (16 years ago)
Author:
bills
Message:

avoid compiler warning about potentially unitialized varaible. It's handled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksio.c

    r27467 r27474  
    11551155                // these gets are not necessary, we could just set the pixels to nan
    11561156                // but I want to get the counts
    1157                 double imageVal;
     1157                double imageVal = 0; // avoid compiler warning
    11581158                if (imageType == PS_TYPE_F32) {
    11591159                    imageVal  = image->data.F32[y][x];
     
    11671167                    streaksExit("", PS_EXIT_PROG_ERROR);
    11681168                }
    1169                 psU32 maskVal;
     1169                psU32 maskVal = 0;
    11701170                if (sfiles->stage == IPP_STAGE_RAW) {
    11711171                    unsigned int xChip, yChip;
Note: See TracChangeset for help on using the changeset viewer.