[RELENG_6] warning in if_re.c
Patrick Lamaizière
patfbsdc at davenulle.org
Fri Oct 7 12:57:44 PDT 2005
Hello,
With a fresh RELENG_6, if_re.c does not compile because a warning :
(FreeBSD: src/sys/dev/re/if_re.c,v 1.46.2.5 2005/10/07 14:00:04 glebius)
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc
-I- -DHAVE_KERNEL_OPTION_HEADERS
[...]
-c /usr/src/sys/modules/re/../../dev/re/if_re.c
/usr/src/sys/modules/re/../../dev/re/if_re.c: In function `re_ioctl':
/usr/src/sys/modules/re/../../dev/re/if_re.c:2286: warning: 'error' might be
used uninitialized in this function
*** Error code 1
It is ok if i put a "int error = 0;"
My kernel's conf is without DEVICE_POLLING.
Regards.
More information about the freebsd-current
mailing list