[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdegraphics/kolourpaint
From:       André_Wöbbeking <Woebbeking () onlinehome ! de>
Date:       2005-02-03 6:54:37
Message-ID: 200502030754.37345.Woebbeking () onlinehome ! de
[Download RAW message or body]

On Thursday 03 February 2005 02:00, Clarence Dang wrote:
> CVS commit by dang:
>
> add #if 0'ed out debug for clipboard fmts dump

#if 0 has the disadvantage that the code isn't compiled and starts to 
rot over the time. A better solution is

static const bool debugMainWindow = false;

...

if (debugMainWindow)
{
...
}

The code is compiled and can't rot but the compiler optimize it away.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic