[Patch] Fix undeleted "static QFont *_font" in kglobalsettings.cpp
mw_triad at users.sourceforge.net
Fri Dec 5 19:09:42 GMT 2008
Johannes Sixt wrote:
> Wait a second. Where is it written that the null pointer has the same bit
> pattern as sizeof(pointer) consecutive unsigned chars with value '\0'? Hm?
> memset is *wrong*.
In that sense, so is using 'if (foo)' versus 'if (foo != null)', yes?
NULL != 0 would probably break quite a lot of code :-).
(And... that said, I'm actually not sure that NULL == 0 *isn't* codified
Please do not quote my e-mail address unobfuscated in message bodies.
For great justice!! -- Captain (Zero Wing)
More information about the kde-core-devel