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

List:       kde-commits
Subject:    Re: branches/KDE/3.5/kdelibs/kio/kio
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2005-08-30 23:39:37
Message-ID: 200508301939.37367.adawit () kde ! org
[Download RAW message or body]

On Tuesday 30 August 2005 09:12, you wrote:
> Dirk Mueller wrote:
> >On Tuesday 30 August 2005 03:36, Dawit Alemayehu wrote:
> >> Initialize static pointer to self
> >
> >why? its initialized automatically.
>
> Dirk is right: don't add the = 0. That will make the compiler instead
> allocate the variable on .data instead of .bss.

Then we would need remove all the explicit initialization from all the other 
code in KIO that have static pointers as well... KTrader and KDirLister are 
but two examples...

-- 
Regards,
Dawit A.
"Practice what you preach, preach what you practice"
[prev in list] [next in list] [prev in thread] [next in thread] 

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