Date: Fri, 7 Oct 2005 21:57:41 +0200 From: Patrick =?iso-8859-1?q?Lamaizi=E8re?= <patfbsdc@davenulle.org> To: freebsd-current@freebsd.org Cc: Gleb Smirnoff <glebius@freebsd.org> Subject: [RELENG_6] warning in if_re.c Message-ID: <200510072157.41895.patfbsdc@davenulle.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510072157.41895.patfbsdc>