Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeZW7-00031A-KK for qemu-devel@nongnu.org; Fri, 21 Aug 2009 15:11:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeZW2-0002zY-Vk for qemu-devel@nongnu.org; Fri, 21 Aug 2009 15:11:15 -0400 Received: from [199.232.76.173] (port=50933 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeZW2-0002zS-K4 for qemu-devel@nongnu.org; Fri, 21 Aug 2009 15:11:10 -0400 Received: from mail.gmx.net ([213.165.64.20]:37714) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MeZW2-0001PG-2X for qemu-devel@nongnu.org; Fri, 21 Aug 2009 15:11:10 -0400 Message-ID: <4AA585A1258844F1B5EB01CEEAE354FF@FSCPC> From: "Sebastian Herbszt" References: <47AA2367F2864C4D8A6B856E35FA189D@FSCPC> In-Reply-To: <47AA2367F2864C4D8A6B856E35FA189D@FSCPC> Date: Fri, 21 Aug 2009 21:09:33 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] pci-hotplug: initialize dinfo to NULL inpci_device_hot_add List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, Anthony Liguori 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