]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Get rid of some compiler warnings.
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 25 Jun 2011 02:06:21 +0000 (02:06 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 25 Jun 2011 02:06:21 +0000 (02:06 +0000)
Fixes 275339 (Christian Borntraeger <borntraeger@de.ibm.com>)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11832

NEWS
none/tests/s390x/fgx.c
none/tests/s390x/op_exception.c

diff --git a/NEWS b/NEWS
index c00c41445669b5b1222afb5ee6f198ab192565e7..260e556232ddb8e6a2bacd99cc5ac1a8639d6df5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -258,6 +258,7 @@ fixed
 275151] New: Fedora 15 / glibc-2.14 'make regtest' FAIL
 fixed
 
+275339 - s390x: fix testcase compile warnings
 
 
 Release 3.6.1 (16 February 2011)
index 83d9723c0dea385fd4f87ec649ea8c7c6f3dfe9d..6c7905395b26110efca53e4c8005eb98cfb0862d 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdio.h>
+#include <string.h>
 #include "opcodes.h"
 
 int main()
index d6e8679685f690b488aa99de9e2ebfd9b3927691..35c8602f7730d05b0554decef802ce7873a4d7f1 100644 (file)
@@ -33,6 +33,6 @@ int main()
         asm volatile(".long 0xffffffff\n.long 0xffff0000\n");
         if (got_ill)
                 printf("0xffffffff does not loop\n");
-
+       return 0;
 }