Fix uninitialized variable.
This commit is contained in:
parent
b8b2b1d895
commit
9c1d55b97c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: iop.c,v 1.5 2002/06/01 23:50:55 lukem Exp $ */
|
||||
/* $NetBSD: iop.c,v 1.6 2003/07/03 13:19:30 rjs Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Allen Briggs.
|
||||
|
@ -361,6 +361,8 @@ receive_iop_message(iop, chan)
|
|||
struct iop_msg *msg;
|
||||
int offset;
|
||||
|
||||
ioph = iop->iop;
|
||||
|
||||
msg = SIMPLEQ_FIRST(&iop->recvq[chan]);
|
||||
if (msg) {
|
||||
SIMPLEQ_REMOVE_HEAD(&iop->recvq[chan], iopm);
|
||||
|
|
Loading…
Reference in New Issue