mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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:
parent
c512bc298c
commit
6c7d0cff3f
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue