These were caught by coccinelle.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
These are all correct and represent better style than the previous code. It won't change the semantics of the code even on architectures where a null-pointer has bits set because comparison to or assignment to 0 is special in 'C'. Since it improves the style, and doesn't change the semantics, this is a good change.
sys/libkern/iconv_xlat16.c | ||
---|---|---|
271 ↗ | (On Diff #25479) | Maybe '\0' instead of NUL? |
sys/libkern/iconv_xlat16.c | ||
---|---|---|
271 ↗ | (On Diff #25479) | Hmm.. I thought I had reverted this change. |