[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix build for pedantic compilers.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 83fe78bb876dfc6d75008c715a772ea2319aae83
# Parent  c89485e939cccb4c74af334b33fcca9e21ad13b2
Fix build for pedantic compilers.

diff -r c89485e939cc -r 83fe78bb876d xen/common/grant_table.c
--- a/xen/common/grant_table.c  Sat Sep 24 07:58:41 2005
+++ b/xen/common/grant_table.c  Sat Sep 24 14:35:47 2005
@@ -83,7 +83,7 @@
     int            handle;
     u64            addr;
     unsigned long  frame = 0;
-    int            rc;
+    int            rc = GNTST_okay;
     active_grant_entry_t *act;
 
     /* Entry details from @rd's shared grant table. */
@@ -377,7 +377,6 @@
 
             spin_unlock(&rd->grant_table->lock);
         }
-
     }
 
     ld->grant_table->maptrack[handle].domid         = dom;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.