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/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
Note: See TracChangeset for help on using the changeset viewer.