From 2b68aee8293cf43f29dc5cf7ac1f23ff612c4a61 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Fri, 19 Jan 2007 15:08:15 +0000 Subject: [MINIOS] Fix compile warnings with -O. Signed-off-by: Dietmar Hahn --- extras/mini-os/xenbus/xenbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras/mini-os/xenbus') diff --git a/extras/mini-os/xenbus/xenbus.c b/extras/mini-os/xenbus/xenbus.c index 09ededbab1..1a0f0e048f 100644 --- a/extras/mini-os/xenbus/xenbus.c +++ b/extras/mini-os/xenbus/xenbus.c @@ -103,7 +103,7 @@ char* xenbus_wait_for_value(const char* path,const char* value) static void xenbus_thread_func(void *ign) { struct xsd_sockmsg msg; - unsigned prod; + unsigned prod = 0; for (;;) { -- cgit v1.2.3