Make gcc 4.2 happy by initiatlizing controller && channel prior

to a call to a function which *might* then initialize them.

MFC after:	3 days
This commit is contained in:
Matt Jacob 2007-05-20 16:49:09 +00:00
parent c512bc298c
commit 6c7d0cff3f

View file

@ -151,7 +151,7 @@ ioctl_ReportEvent(UCHAR event, PVOID param)
}
event_queue_add(&e);
if (event==ET_DEVICE_REMOVED) {
int controller, channel;
int controller = 0, channel = 0;
get_disk_location(&((PVDevice)param)->u.disk, &controller, &channel);
hpt_printk(("Device removed: controller %d channel %d\n", controller, channel));
}