Subject: kern/23564: minor 'variable may be used uninitialized' Corrections
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dheeraj@ece.gatech.edu>
List: netbsd-bugs
Date: 11/25/2003 04:47:03
>Number:         23564
>Category:       kern
>Synopsis:       minor 'variable may be used uninitialized' Corrections
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 25 04:48:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     dheeraj reddy
>Release:        NetBSD 1.6ZF, 23 nov 2003
>Organization:
GT
>Environment:
System: NetBSD vagisha 1.6ZF NetBSD 1.6ZF (VAGISHA) #0: Sun Nov 23 18:37:24 EST 2003 root@vagisha.sudheeraj.net:/usr/obj/sys/arch/i386/compile/VAGISHA i386
Architecture: i386
Machine: i386
>Description:
In line 485 of sys/arch/i386/pnpbios/pnpbios.c, when and style should
     probably  be initialized to NULL.
>How-To-Repeat:
compile a kernel with pnpbios options in the config file.

>Fix:
const char *when=NULL, *style=NULL; /* probably, or am i missing the
                                               larger picture */

>Release-Note:
>Audit-Trail:
>Unformatted: