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/shell32/shelllink.c

    r7343 r7502  
    3434#undef TRACE
    3535#ifdef DEBUG
     36// PH 2001-11-30
     37// this macro definition causes the control leave the scope of a
     38// non-curly-braced preceeding if statement. Therefore,
     39//   if (p!=NULL)
     40//      TRACE("p->a=%d", p->a)
     41// crashes.
     42//
     43// !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT
     44// !!! ARE PUT INTO CURLY BRACES
    3645#define TRACE WriteLog("SHELL32: %s", __FUNCTION__); WriteLog
    3746#define WARN WriteLog("WARNING: SHELL32: %s", __FUNCTION__); WriteLog
Note: See TracChangeset for help on using the changeset viewer.