From owner-freebsd-current@FreeBSD.ORG Fri Oct 7 19:57:44 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB6E816A41F; Fri, 7 Oct 2005 19:57:44 +0000 (GMT) (envelope-from patfbsdc@davenulle.org) Received: from smtp.lamaiziere.net (lamaiziere.net [213.41.172.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65A4643D46; Fri, 7 Oct 2005 19:57:43 +0000 (GMT) (envelope-from patfbsdc@davenulle.org) Received: from [192.168.0.59] (unknown [192.168.0.59]) by smtp.lamaiziere.net (Postfix) with ESMTP id 9D39CA6C9B; Fri, 7 Oct 2005 21:57:42 +0200 (CEST) From: Patrick =?iso-8859-1?q?Lamaizi=E8re?= Organization: >/dave/nulle To: freebsd-current@freebsd.org Date: Fri, 7 Oct 2005 21:57:41 +0200 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510072157.41895.patfbsdc@davenulle.org> Cc: Gleb Smirnoff Subject: [RELENG_6] warning in if_re.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2005 19:57:44 -0000 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.