]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Removing the warning about defined yet unused function on MIPS.
authorPetar Jovanovic <mips32r2@gmail.com>
Sat, 30 Jun 2012 02:12:13 +0000 (02:12 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Sat, 30 Jun 2012 02:12:13 +0000 (02:12 +0000)
Getting rid of the warning for the function handler_unsup_insn which is not
used on MIPS.

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

coregrind/m_machine.c

index 047c508555c2ce110f63c4a493455be61699b40c..a272191d2be7c51f52829cfd6c5d95b1b6090bd0 100644 (file)
@@ -434,7 +434,7 @@ Int VG_(machine_arm_archlevel) = 4;
 /* For hwcaps detection on ppc32/64, s390x, and arm we'll need to do SIGILL
    testing, so we need a VG_MINIMAL_JMP_BUF. */
 #if defined(VGA_ppc32) || defined(VGA_ppc64) \
-    || defined(VGA_arm) || defined(VGA_s390x) || defined(VGA_mips32)
+    || defined(VGA_arm) || defined(VGA_s390x)
 #include "pub_tool_libcsetjmp.h"
 static VG_MINIMAL_JMP_BUF(env_unsup_insn);
 static void handler_unsup_insn ( Int x ) {