1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-10 09:42:26 +00:00

Uninitialized pointer reference may happen on particular environment.

(for example, it kills my new laptop, Toshiba Libretto 100....)
This commit is contained in:
Tatsumi Hosokawa 1998-03-19 16:19:16 +00:00
parent c8151f7b9b
commit bf595ed7c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=34686

View File

@ -283,10 +283,15 @@ pcic_dump_attributes(unsigned char *scratch, int maxlen)
}
#endif
static void
nullfunc(int unit)
{
/* empty */
}
static u_int
build_freelist(u_int pcic_mask)
{
inthand2_t *nullfunc;
int irq;
u_int mask, freemask;