Remove some dead code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14637 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/m_libcprint.c b/coregrind/m_libcprint.c
index a3749c0..8e1814b 100644
--- a/coregrind/m_libcprint.c
+++ b/coregrind/m_libcprint.c
@@ -564,8 +564,8 @@
VG_(message) (Vg_FailMsg, "Bad option: %s\n", opt);
VG_(vmessage)(Vg_FailMsg, format, vargs );
VG_(message) (Vg_FailMsg, "Use --help for more information or consult the user manual.\n");
- VG_(exit)(1);
va_end(vargs);
+ VG_(exit)(1);
}
UInt VG_(umsg) ( const HChar* format, ... )
@@ -615,8 +615,8 @@
VG_(message) (Vg_FailMsg, "Startup or configuration error:\n ");
VG_(vmessage)(Vg_FailMsg, format, vargs );
VG_(message) (Vg_FailMsg, "Unable to start up properly. Giving up.\n");
- VG_(exit)(1);
va_end(vargs);
+ VG_(exit)(1);
}