debuggers.hg

changeset 19949:e7d4fd334626

blktap2: Fix compile warning with gcc4.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Jul 08 11:00:23 2009 +0100 (2009-07-08)
parents 5c40f649a6a4
children 721c14d7f60b
files tools/blktap2/vhd/lib/vhd-util-check.c
line diff
     1.1 --- a/tools/blktap2/vhd/lib/vhd-util-check.c	Wed Jul 08 10:58:09 2009 +0100
     1.2 +++ b/tools/blktap2/vhd/lib/vhd-util-check.c	Wed Jul 08 11:00:23 2009 +0100
     1.3 @@ -810,6 +810,7 @@ vhd_util_check_vhd(const char *name, int
     1.4  
     1.5  	fd = -1;
     1.6  	memset(&vhd, 0, sizeof(vhd));
     1.7 +        memset(&footer, 0, sizeof(footer));
     1.8  
     1.9  	err = stat(name, &stats);
    1.10  	if (err == -1) {