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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.