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