svn commit: r197654 - head/sys/dev/if_ndis
Bruce Evans
brde at optusnet.com.au
Thu Oct 1 14:36:15 UTC 2009
On Thu, 1 Oct 2009, [utf-8] Dag-Erling Smørgrav wrote:
> Coleman Kane <cokane at FreeBSD.org> writes:
>> - if (sc->ndis_80211 && vap)
>> + if ((sc->ndis_80211 != NULL) && (vap != NULL))
>
> sc->ndis_80211 is an int. NULL is a pointer.
Also, the number of style bugs was doubled on (almost?) every changed line
by adding 2 sets of unnecessary parentheses.
Bruce
More information about the svn-src-all
mailing list