qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH] pci-hotplug: initialize dinfo to NULL inpci_dev


From: Sebastian Herbszt
Subject: [Qemu-devel] Re: [PATCH] pci-hotplug: initialize dinfo to NULL inpci_device_hot_add
Date: Fri, 21 Aug 2009 21:09:33 +0200

Sebastian Herbszt wrote:
Suppress the following compiler warning emitted by at least gcc version 4.2.1 
(SUSE Linux)
and gcc version 3.4.5 (mingw32 special):

hw/pci-hotplug.c: In function 'pci_device_hot_add':
hw/pci-hotplug.c:102: warning: 'dinfo' may be used uninitialized in this 
function
hw/pci-hotplug.c:102: note: 'dinfo' was declared here

Still needed for v0.11.0-rc0-373-g6b74327.

- Sebastian





reply via email to

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