Fix uninitialized variable.

This commit is contained in:
rjs 2003-07-03 13:19:30 +00:00
parent b8b2b1d895
commit 9c1d55b97c
1 changed files with 3 additions and 1 deletions

View File

@ -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);