[Patch] Fix undeleted "static QFont *_font" in kglobalsettings.cpp
thiago at kde.org
Mon Dec 15 07:09:46 GMT 2008
Olivier Goffart wrote:
>This was just an illustration of what you were saying:
>The fact that the NULL or 0x0 could mean something else than all bit to
> zero. Using memset with zero to clear an array of pointer to member
> would be wrong even in a common platform.
Conclusion: assuming that null pointers is all bits zero is wrong.
But works for regular pointers (not pointer to members) in the platforms
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel