ia64/xen-unstable

changeset 4644:c7f1dee0ac34

bitkeeper revision 1.1372 (426a291er6fDcjQLyYtGSP3XQORoWQ)

grant_table.c:
gcc4 tweak.
author kaf24@firebug.cl.cam.ac.uk
date Sat Apr 23 10:53:18 2005 +0000 (2005-04-23)
parents 793d5c557544
children cc637433c0fd
files xen/common/grant_table.c
line diff
     1.1 --- a/xen/common/grant_table.c	Fri Apr 22 16:57:55 2005 +0000
     1.2 +++ b/xen/common/grant_table.c	Sat Apr 23 10:53:18 2005 +0000
     1.3 @@ -437,7 +437,7 @@ gnttab_map_grant_ref(
     1.4      gnttab_map_grant_ref_t *uop, unsigned int count)
     1.5  {
     1.6      int i, flush = 0;
     1.7 -    unsigned long va;
     1.8 +    unsigned long va = 0;
     1.9  
    1.10      for ( i = 0; i < count; i++ )
    1.11          if ( __gnttab_map_grant_ref(&uop[i], &va) == 0 )
    1.12 @@ -633,7 +633,7 @@ gnttab_unmap_grant_ref(
    1.13      gnttab_unmap_grant_ref_t *uop, unsigned int count)
    1.14  {
    1.15      int i, flush = 0;
    1.16 -    unsigned long va;
    1.17 +    unsigned long va = 0;
    1.18  
    1.19      for ( i = 0; i < count; i++ )
    1.20          if ( __gnttab_unmap_grant_ref(&uop[i], &va) == 0 )