WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix 'no value returned in non-void function' warnings on

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix 'no value returned in non-void function' warnings on x86/64 gcc.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Wed, 08 Jun 2005 08:39:38 +0000
Delivery-date: Wed, 08 Jun 2005 10:02:08 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix 'no value returned in non-void function' warnings on x86/64 gcc., BitKeeper Bot <=