[RFC] Proper initialization of class members and variables

Dirk Mueller mueller at kde.org
Mon Nov 21 12:04:37 GMT 2005

On Saturday 19 November 2005 11:11, Christian Ehrlicher wrote:

> I've attached a small patch to fix this for
> kdelibs/kdecore/ksycocafactory.cpp

I don't agree. You initialize m_sycocaDict here with 0L, while the rest of the 
class expects it to be non-null. 

Does the attached patch work for you?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdecore.diff
Type: text/x-diff
Size: 1537 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051121/75a6633b/attachment.diff>

More information about the kde-core-devel mailing list