ACPI: Set handle to NULL.

There is a (probably non-viable) case where it might not get initialized
by the function and then potentially used, so set it to NULL to silence
Clang.
This commit is contained in:
Augustin Cavalier 2018-06-18 23:17:38 -04:00
parent 9216fc0178
commit 9b29611fb8

View File

@ -87,7 +87,7 @@ acpi_walk_resources(acpi_device device, char *method,
static status_t
acpi_device_init_driver(device_node *node, void **cookie)
{
ACPI_HANDLE handle;
ACPI_HANDLE handle = NULL;
const char *path = NULL;
uint32 type;