[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 0/7] ATAPI CDROM passthrough v5

From: Ian Jackson
Subject: [Qemu-devel] Re: [PATCH 0/7] ATAPI CDROM passthrough v5
Date: Wed, 12 Aug 2009 18:26:19 +0100

I wrote:
> I think I've fixed it up.  It builds for me, anyway.  If it now
> doesn't build do please tell me the error message and I'l fix it.

I did have to do this, to fix an unrelated `may be used initialised'
warning.  I'm not sure if it's the right fix.


diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c
index 4da916c..2efd21c 100644
--- 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=0;
     int type = -1;
     char buf[128];

reply via email to

[Prev in Thread] Current Thread [Next in Thread]