diff options
author | hosokawa <hosokawa@FreeBSD.org> | 1998-03-19 16:19:16 +0000 |
---|---|---|
committer | hosokawa <hosokawa@FreeBSD.org> | 1998-03-19 16:19:16 +0000 |
commit | 309af0bbe22b12b32f3d3cedf86ff947ac8ddfbb (patch) | |
tree | 2c86643ecb82db720bcab02c41b6a31df4510b07 /sys/pccard/pcic.c | |
parent | d6e453e36fb6c030d539f25e683b8a36d830b4e0 (diff) | |
download | FreeBSD-src-309af0bbe22b12b32f3d3cedf86ff947ac8ddfbb.zip FreeBSD-src-309af0bbe22b12b32f3d3cedf86ff947ac8ddfbb.tar.gz |
Uninitialized pointer reference may happen on particular environment.
(for example, it kills my new laptop, Toshiba Libretto 100....)
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r-- | sys/pccard/pcic.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c index 96d6c57..03deeb9 100644 --- a/sys/pccard/pcic.c +++ b/sys/pccard/pcic.c @@ -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; |