]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove some dead code.
authorFlorian Krohm <florian@eich-krohm.de>
Fri, 17 Oct 2014 19:44:55 +0000 (19:44 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Fri, 17 Oct 2014 19:44:55 +0000 (19:44 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14637

coregrind/m_libcprint.c

index a3749c01e6ef2042a16757290b863661a5a92b2b..8e1814b404841f432f8de72d248723b35c6ea77c 100644 (file)
@@ -564,8 +564,8 @@ void VG_(fmsg_bad_option) ( const HChar* opt, const HChar* format, ... )
    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 @@ void VG_(err_config_error) ( const HChar* format, ... )
    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);
 }