Ignore:
Timestamp:
May 11, 2023, 10:44:53 PM (2 years ago)
Author:
gyoung
Message:

Fix errors reported by CPPCheck

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/classes/c/c_image/cwbmp.c

    r2 r57  
    706706    if(ppDetailsData)
    707707      {
    708         ULONG ulWidth, ulHeight, ulDepth;
     708        ULONG ulWidth = 0, ulHeight = 0, ulDepth = 0;
    709709        PBITMAPINFOHEADER2 pBmpInfoHeader2;       
    710710       
     
    725725        }
    726726       
    727         /* Fill the structure with the info to be displayed */     
     727        /* Fill the structure with the info to be displayed */
     728        // Fixme ulWidth and freinds are potentally uninitulized is the } above in the wrong place
    728729        pImageDetails=(PIMAGEDETAILS)*ppDetailsData; 
    729730        pImageDetails->ulWidth=ulWidth;
Note: See TracChangeset for help on using the changeset viewer.