Skip to contentSkip to conversation

Eliminate uninitialised variables warnings.

Xen-changelog Anthony Liguori 1 participant 1 message Jan 31, 2006 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi,

I saw 3.0.1 was tagged right before this changeset. Can you make sure that 3.0.1 includes this changeset? Without, Xen doesn't build at all on gcc 4.0.2 because of -Werror.

Regards,

Anthony Liguori

Quoted 28 lines · Xen patchbot -3.0-testing wrote:

# HG changeset patch
# User [email protected]
# Node ID 3f835fa609bb5d41be0c41f0694b405247e496a6 # Parent 78d6d016ffc0e428f3782a9469a911a56fa53a23 Eliminate uninitialised variables warnings.

diff -r 78d6d016ffc0 -r 3f835fa609bb xen/include/xen/domain_page.h

xen/include/xen/domain_page.h +2 -0
@@ -48,6 +48,8 @@
 {
    ASSERT(cache != NULL);
    cache->flags = 0;
+    cache->pfn = 0;
+    cache->va = NULL;
 }
 

static inline void *

_______________________________________________
Xen-changelog mailing list
[email protected]
http://lists.xensource.com/xen-changelog