Subject: port-i386/35073: problem compile kernel with: options PPPOE_SERVER
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <spetrov@mallsi.com>
List: netbsd-bugs
Date: 11/18/2006 15:15:00
>Number: 35073
>Category: port-i386
>Synopsis: problem compile kernel with: options PPPOE_SERVER
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-i386-maintainer
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Nov 18 15:15:00 +0000 2006
>Originator: Svetoslav Petrov
>Release: NetBSD - 3.0.0
>Organization:
>Environment:
NetBSD mallsi.com 3.0.0_STABLE NetBSD 3.0.0_STABLE (MALLSI) #0: Tue Apr 11 03:31:43 EEST 2006 root@mallsi.com:/usr/src/sys/arch/i386/compile/MALLSI i386
>Description:
when compiling kernel with: options PPPOE_SERVER
../../../../net/if_pppoe.c:1327: warning: `l1' might be used uninitialized in this function
and compiling stops
>How-To-Repeat:
>Fix:
initialize
l1 variable into if_pppoe.c line 1327
....
size_t len, l1=0;
....