]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Avoid warning about not returning a value from main().
authorNicholas Nethercote <n.nethercote@gmail.com>
Thu, 14 Oct 2004 09:48:55 +0000 (09:48 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Thu, 14 Oct 2004 09:48:55 +0000 (09:48 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2764

memcheck/tests/fpeflags.c

index 27cd3e3e99b635ef6234d9ba69a14e62d7623c98..4bedcd5b42465cd9f1c78285c692e03b0a0d301b 100644 (file)
@@ -17,4 +17,6 @@ int main(int argc, char** argv)
 
     if (g == 1.0f)
         return 0;
+    else
+        return 1;
 }