WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] The attached trivial patch fixes a spurious gcc-4.0 warn

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] The attached trivial patch fixes a spurious gcc-4.0 warning in
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 03 Aug 2005 05:34:11 -0400
Delivery-date: Wed, 03 Aug 2005 09:34:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 4012e919dac0c1e11303a525dc8018c736023ee0
# Parent  18bb2998937101fb923cf326ae3bacfe123d5da5
The attached trivial patch fixes a spurious gcc-4.0 warning in
xen/arch/x86/mm.c when building the current hg tip.  Due to -Werror,
this breaks builds with gcc-4.0.

Signed-off-by: Josh Triplett <josht@xxxxxxxxxx>

diff -r 18bb29989371 -r 4012e919dac0 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Wed Aug  3 09:33:09 2005
+++ b/xen/arch/x86/mm.c Wed Aug  3 09:34:37 2005
@@ -1040,7 +1040,7 @@
                         unsigned int type)
 {
     l2_pgentry_t ol2e;
-    unsigned long vaddr;
+    unsigned long vaddr = 0;
 
     if ( unlikely(!is_guest_l2_slot(type,pgentry_ptr_to_slot(pl2e))) )
     {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] The attached trivial patch fixes a spurious gcc-4.0 warning in, Xen patchbot -unstable <=