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

[Xen-changelog] Fix 'no value returned in non-void function' warnings on x86/64 gcc.



ChangeSet 1.1694, 2005/06/08 09:39:38+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Fix 'no value returned in non-void function' warnings on x86/64 gcc.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 string.h |    2 ++
 1 files changed, 2 insertions(+)


diff -Nru a/xen/include/asm-x86/string.h b/xen/include/asm-x86/string.h
--- a/xen/include/asm-x86/string.h      2005-06-08 06:03:07 -04:00
+++ b/xen/include/asm-x86/string.h      2005-06-08 06:03:07 -04:00
@@ -238,6 +238,7 @@
         }
     }
 #undef COMMON
+    return to;
 }
 
 #define __HAVE_ARCH_MEMCPY
@@ -367,6 +368,7 @@
         }
     }
 #undef COMMON
+    return s;
 }
 
 #define __constant_c_x_memset(s, c, count) \

_______________________________________________
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®.