[Bug 206762] -Wtautilogical-pointer-compare issues with drm(4) code
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 2 19:50:59 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206762
--- Comment #5 from Dimitry Andric <dim at FreeBSD.org> ---
Some people add this type of null check as a sort of "defensive programming"
practice. For example, if the obj->base member was a pointer instead of an
array, you would definitely need such a null check. So maybe the rationale is
'better safe than sorry'...
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list