diff --git a/src/device/cpu_device.c b/src/device/cpu_device.c index 51a1994a8a..f406e23f89 100644 --- a/src/device/cpu_device.c +++ b/src/device/cpu_device.c @@ -7,7 +7,7 @@ struct device *add_cpu_device(struct bus *cpu_bus, unsigned int apic_id, int enabled) { - struct device_path cpu_path; + struct device_path cpu_path = {}; struct device *cpu; /* Build the CPU device path */