Changeset 7502 for trunk/src/ole32


Ignore:
Timestamp:
Nov 30, 2001, 6:49:22 PM (24 years ago)
Author:
phaller
Message:

Fixed out-of-scope FIXME,TRACE,WARN macros

Location:
trunk/src/ole32
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ole32/antimoniker.c

    r6711 r7502  
    1919#undef TRACE
    2020#ifdef DEBUG
     21// PH 2001-11-30
     22// this macro definition causes the control leave the scope of a
     23// non-curly-braced preceeding if statement. Therefore,
     24//   if (p!=NULL)
     25//      TRACE("p->a=%d", p->a)
     26// crashes.
     27//
     28// !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
     29// !!! ARE PUT INTO CURLY BRACES
    2130#define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog
    2231#define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog
  • trunk/src/ole32/bindctx.c

    r6711 r7502  
    2121#undef TRACE
    2222#ifdef DEBUG
     23// PH 2001-11-30
     24// this macro definition causes the control leave the scope of a
     25// non-curly-braced preceeding if statement. Therefore,
     26//   if (p!=NULL)
     27//      TRACE("p->a=%d", p->a)
     28// crashes.
     29//
     30// !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
     31// !!! ARE PUT INTO CURLY BRACES
    2332#define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog
    2433#define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog
  • trunk/src/ole32/compobj.c

    r7355 r7502  
    4141#undef TRACE
    4242#ifdef DEBUG
     43// PH 2001-11-30
     44// this macro definition causes the control leave the scope of a
     45// non-curly-braced preceeding if statement. Therefore,
     46//   if (p!=NULL)
     47//      TRACE("p->a=%d", p->a)
     48// crashes.
     49//
     50// !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
     51// !!! ARE PUT INTO CURLY BRACES
    4352#define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog
    4453#define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog
     
    14931502
    14941503  if (pServerInfo!=NULL)
     1504  {
    14951505    FIXME("() non-NULL pServerInfo not supported!\n");
     1506  }
    14961507
    14971508  /*
  • trunk/src/ole32/compositemoniker.c

    r6711 r7502  
    2121#undef TRACE
    2222#ifdef DEBUG
     23// PH 2001-11-30
     24// this macro definition causes the control leave the scope of a
     25// non-curly-braced preceeding if statement. Therefore,
     26//   if (p!=NULL)
     27//      TRACE("p->a=%d", p->a)
     28// crashes.
     29//
     30// !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
     31// !!! ARE PUT INTO CURLY BRACES
    2332#define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog
    2433#define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog
  • trunk/src/ole32/oleobj.c

    r6711 r7502  
    1717#undef TRACE
    1818#ifdef DEBUG
     19// PH 2001-11-30
     20// this macro definition causes the control leave the scope of a
     21// non-curly-braced preceeding if statement. Therefore,
     22//   if (p!=NULL)
     23//      TRACE("p->a=%d", p->a)
     24// crashes.
     25//
     26// !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
     27// !!! ARE PUT INTO CURLY BRACES
    1928#define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog
    2029#define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog
  • trunk/src/ole32/stg_bigblockfile.c

    r6711 r7502  
    4848#undef TRACE
    4949#ifdef DEBUG
     50// PH 2001-11-30
     51// this macro definition causes the control leave the scope of a
     52// non-curly-braced preceeding if statement. Therefore,
     53//   if (p!=NULL)
     54//      TRACE("p->a=%d", p->a)
     55// crashes.
     56//
     57// !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
     58// !!! ARE PUT INTO CURLY BRACES
    5059#define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog
    5160#define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog
  • trunk/src/ole32/storage32.c

    r7343 r7502  
    4141#undef TRACE
    4242#ifdef DEBUG
     43// PH 2001-11-30
     44// this macro definition causes the control leave the scope of a
     45// non-curly-braced preceeding if statement. Therefore,
     46//   if (p!=NULL)
     47//      TRACE("p->a=%d", p->a)
     48// crashes.
     49//
     50// !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
     51// !!! ARE PUT INTO CURLY BRACES
    4352#define TRACE WriteLog("OLE32: %s", __FUNCTION__); WriteLog
    4453#define FIXME WriteLog("FIXME OLE32: %s", __FUNCTION__); WriteLog
     
    13791388
    13801389  if ((ciidExclude != 0) || (rgiidExclude != NULL) || (snbExclude != NULL))
     1390  {
    13811391    FIXME("Exclude option not implemented\n");
     1392  }
    13821393
    13831394  TRACE("(%p, %ld, %p, %p, %p)\n",
     
    53485359
    53495360  if (grfMode & STGM_TRANSACTED)
     5361  {
    53505362    FIXME("Transacted mode not implemented.\n");
     5363  }
    53515364
    53525365  /*
     
    59545967  /* All other cases */
    59555968  if (stgm & ~ (STGM_CREATE|STGM_CONVERT))
    5956         FIXME("unhandled storage mode : 0x%08lx\n",stgm & ~ (STGM_CREATE|STGM_CONVERT));
     5969  {
     5970    FIXME("unhandled storage mode : 0x%08lx\n",stgm & ~ (STGM_CREATE|STGM_CONVERT));
     5971  }
    59575972  return CREATE_NEW;
    59585973}
Note: See TracChangeset for help on using the changeset viewer.