Fixed GCC 4 warning.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19056 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-10-13 10:49:08 +00:00
parent 134f3f10ac
commit 78d0219799

View File

@ -179,7 +179,7 @@ scan(device_node_info *node, bool rescan)
// do the real thing - scan node
if (!rescan) {
bool loadDriversLater = false;
uint8 loadDriversLater = false;
char *deviceType = NULL;
pnp_get_attr_uint8(node, B_DRIVER_FIND_DEVICES_ON_DEMAND, &loadDriversLater, false);
pnp_get_attr_string(node, B_DRIVER_DEVICE_TYPE, &deviceType, false);