summaryrefslogtreecommitdiff
path: root/memcheck/mc_main.c
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-12-27 23:19:10 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2006-12-27 23:19:10 +0000
commitb4ba16dceda1dc91d93862c595abc771c0179acf (patch)
tree677e5386c68fc2da6efa6cd9155c79eb9ebc6912 /memcheck/mc_main.c
parent0b21412e4daca69e48895a713111fe906133cd53 (diff)
Remove dead code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6449 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'memcheck/mc_main.c')
-rw-r--r--memcheck/mc_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c
index b24c5e59..35a955be 100644
--- a/memcheck/mc_main.c
+++ b/memcheck/mc_main.c
@@ -3566,7 +3566,6 @@ static Bool mc_error_matches_suppression(Error* err, Supp* su)
static Char* mc_get_error_name ( Error* err )
{
- Char* s;
switch (VG_(get_error_kind)(err)) {
case Err_RegParam: return "Param";
case Err_MemParam: return "Param";
@@ -3603,7 +3602,6 @@ static Char* mc_get_error_name ( Error* err )
}
default: VG_(tool_panic)("get_error_name: unexpected type");
}
- VG_(printf)(s);
}
static void mc_print_extra_suppression_info ( Error* err )