Message ID | D5E423455F0B45639F15188EA7CD26DA@FSCPC |
---|---|
State | Superseded |
Headers | show |
Sebastian Herbszt wrote: > > Anthony, there is a second report [1] about this problem. The > following patch makes > the compiler happy. Please post as a top level patch with a Signed-off-by. Regards, Anthony Liguori
--- a/hw/pci-hotplug.c +++ b/hw/pci-hotplug.c @@ -99,7 +99,7 @@ static PCIDevice *qemu_pci_hot_add_storage(Monitor *mon, const char *opts) { PCIDevice *dev; - DriveInfo *dinfo; + DriveInfo *dinfo = NULL; int type = -1; char buf[128];