]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove compile warnings.
authorNicholas Nethercote <n.nethercote@gmail.com>
Sat, 14 Feb 2004 16:53:53 +0000 (16:53 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Sat, 14 Feb 2004 16:53:53 +0000 (16:53 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2248

none/tests/gen_insn_test.pl

index 363e71b8778fe8ffafd7dcae82c3018b06bf38ea..fb63a20bba96af7c7251356e4ef86b84b2cba922 100644 (file)
@@ -134,11 +134,13 @@ static void handle_sigill(int signum)
    siglongjmp(catchpoint, 1);
 }
 
+__attribute__((unused))
 static int eq_float(float f1, float f2)
 {
    return f1 == f2 || fabsf(f1 - f2) < fabsf(f1) * 1.5 * pow(2,-12);
 }
 
+__attribute__((unused))
 static int eq_double(double d1, double d2)
 {
    return d1 == d2 || fabs(d1 - d2) < fabs(d1) * 1.5 * pow(2,-12);