Ignore:
Timestamp:
Oct 4, 2023, 6:18:02 PM (2 years ago)
Author:
gyoung
Message:

Fix all the warnings and errors reported by CPPCheck.

File:
1 edited

Legend:

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

    r59 r108  
    852852      /* Allocate memory for small bitmap info for the thread */
    853853      //      if((pCreateBMP=(PCREATEBMPINFO)_wp_AllocMem(somSelf, sizeof(CREATEBMPINFO),&ulError))==NULLHANDLE)
    854       if((pCreateBMP=(PCREATEBMPINFO)malloc( sizeof(CREATEBMPINFO)))==NULLHANDLE)
     854      if((pCreateBMP=(PCREATEBMPINFO)malloc( sizeof(CREATEBMPINFO)))==NULL)
    855855        return NULLHANDLE;
    856856
Note: See TracChangeset for help on using the changeset viewer.