aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/xenbus
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-19 15:08:15 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-19 15:08:15 +0000
commit2b68aee8293cf43f29dc5cf7ac1f23ff612c4a61 (patch)
treec74c8ce96351990bd6e54b6d2f898bae24821aa7 /extras/mini-os/xenbus
parent9e20e8426ff5e81d0d1e3b5aaddf2e906eaf82ce (diff)
downloadxen-2b68aee8293cf43f29dc5cf7ac1f23ff612c4a61.tar.gz
xen-2b68aee8293cf43f29dc5cf7ac1f23ff612c4a61.tar.bz2
xen-2b68aee8293cf43f29dc5cf7ac1f23ff612c4a61.zip
[MINIOS] Fix compile warnings with -O.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Diffstat (limited to 'extras/mini-os/xenbus')
-rw-r--r--extras/mini-os/xenbus/xenbus.c2
1 files changed, 1 insertions, 1 deletions
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 (;;)
{