|
From: <sv...@va...> - 2014-10-17 19:45:02
|
Author: florian
Date: Fri Oct 17 20:44:55 2014
New Revision: 14637
Log:
Remove some dead code.
Modified:
trunk/coregrind/m_libcprint.c
Modified: trunk/coregrind/m_libcprint.c
==============================================================================
--- trunk/coregrind/m_libcprint.c (original)
+++ trunk/coregrind/m_libcprint.c Fri Oct 17 20:44:55 2014
@@ -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);
}
|