Ignore:
Timestamp:
Feb 21, 2010, 5:33:53 PM (16 years ago)
Author:
rlwalsh
Message:

eliminate VACPP warning & info msgs - see Ticket #1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/combo.c

    r10216 r21356  
    8585 * Load combo button bitmap.
    8686 */
    87 static BOOL COMBO_Init()
     87static BOOL COMBO_Init(void)
    8888{
    8989  HDC       hDC;
    9090
    9191  if( hComboBmp ) return TRUE;
    92   if( (hDC = CreateCompatibleDC(0)) )
     92  if( (hDC = CreateCompatibleDC(0)) != 0)
    9393  {
    9494    BOOL    bRet = FALSE;
    95     if( (hComboBmp = LoadBitmapW(0, MAKEINTRESOURCEW(OBM_COMBO))) )
     95    if( (hComboBmp = LoadBitmapW(0, MAKEINTRESOURCEW(OBM_COMBO))) != 0)
    9696    {
    9797      BITMAP      bm;
     
    676676        PATCOPY );
    677677
    678     if( (bBool = lphc->wState & CBF_BUTTONDOWN) )
     678    if( (bBool = lphc->wState & CBF_BUTTONDOWN) != FALSE)
    679679    {
    680680        DrawEdge( hdc, &rectButton, EDGE_SUNKEN, BF_RECT );
     
    750750   {
    751751        size = SendMessageW(lphc->hWndLBox, LB_GETTEXTLEN, id, 0);
    752         if( (pText = HeapAlloc( GetProcessHeap(), 0, (size + 1) * sizeof(WCHAR))) )
     752        if( (pText = HeapAlloc( GetProcessHeap(), 0, (size + 1) * sizeof(WCHAR))) != NULL)
    753753    {
    754754            /* size from LB_GETTEXTLEN may be too large, from LB_GETTEXT is accurate */
     
    10941094       if( length )
    10951095       {
    1096        if( (pText = HeapAlloc( GetProcessHeap(), 0, (length + 1) * sizeof(WCHAR))) )
     1096       if( (pText = HeapAlloc( GetProcessHeap(), 0, (length + 1) * sizeof(WCHAR))) != NULL)
    10971097       {
    10981098        SendMessageW(lphc->hWndLBox, LB_GETTEXT,
     
    18971897      LPHEADCOMBO lphc = (LPHEADCOMBO)GetWindowLongA( hwnd, 0 );
    18981898
    1899       TRACE("[%04x]: msg %s wp %08x lp %08lx\n",
    1900             hwnd, SPY_GetMsgName(message, hwnd), wParam, lParam );
     1899      TRACE("[%04x]: msg %s wp %08x lp %08lx\n", hwnd, SPY_GetMsgName(message, hwnd), wParam, lParam );
    19011900
    19021901      if( lphc || message == WM_NCCREATE )
Note: See TracChangeset for help on using the changeset viewer.