Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbHak-0004qH-PF for qemu-devel@nongnu.org; Wed, 12 Aug 2009 13:26:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbHag-0004nw-3y for qemu-devel@nongnu.org; Wed, 12 Aug 2009 13:26:26 -0400 Received: from [199.232.76.173] (port=44886 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbHaf-0004nq-WC for qemu-devel@nongnu.org; Wed, 12 Aug 2009 13:26:22 -0400 Received: from smtp.eu.citrix.com ([62.200.22.115]:29883) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbHaf-0005kw-65 for qemu-devel@nongnu.org; Wed, 12 Aug 2009 13:26:21 -0400 Received: from iwj by mariner.uk.xensource.com with local (Exim 4.63) (envelope-from ) id 1MbHad-0007n2-PE for qemu-devel@nongnu.org; Wed, 12 Aug 2009 18:26:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-ID: <19074.64315.773182.840038@mariner.uk.xensource.com> Date: Wed, 12 Aug 2009 18:26:19 +0100 In-Reply-To: <19074.63829.151234.423348@mariner.uk.xensource.com> References: <19074.63829.151234.423348@mariner.uk.xensource.com> From: Ian Jackson Subject: [Qemu-devel] Re: [PATCH 0/7] ATAPI CDROM passthrough v5 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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. Ian. 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];