From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYFLG-0005j1-00 for qemu-devel@nongnu.org; Tue, 13 Nov 2012 07:11:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYFLC-0005k4-UD for qemu-devel@nongnu.org; Tue, 13 Nov 2012 07:11:45 -0500 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:43633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYFLC-0005ji-MD for qemu-devel@nongnu.org; Tue, 13 Nov 2012 07:11:42 -0500 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 13 Nov 2012 12:11:39 -0000 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id qADCBTjT61931712 for ; Tue, 13 Nov 2012 12:11:29 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id qADCBZLf024783 for ; Tue, 13 Nov 2012 05:11:36 -0700 From: Christian Borntraeger Date: Tue, 13 Nov 2012 13:11:49 +0100 Message-Id: <1352808709-11215-1-git-send-email-borntraeger@de.ibm.com> Subject: [Qemu-devel] [PATCH 06/24] Remove local ram_size that hides global one List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraf@suse.de Cc: Christian Borntraeger , Heinz Graalfs , qemu-devel@nongnu.org From: Heinz Graalfs The global variable 'ram_size' is hidden by the local variable declaration in s390_init() Signed-off-by: Heinz Graalfs Signed-off-by: Christian Borntraeger --- hw/s390-virtio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/s390-virtio.c b/hw/s390-virtio.c index ebec844..78477af 100644 --- a/hw/s390-virtio.c +++ b/hw/s390-virtio.c @@ -155,7 +155,6 @@ unsigned s390_del_running_cpu(CPUS390XState *env) static void s390_init(QEMUMachineInitArgs *args) { ram_addr_t my_ram_size = args->ram_size; - ram_addr_t ram_size = args->ram_size; const char *cpu_model = args->cpu_model; const char *kernel_filename = args->kernel_filename; const char *kernel_cmdline = args->kernel_cmdline; -- 1.7.10.1