[gmime: 5/27] Get rid of testsuite_vprintf to silence compiler warning (+ unused)



commit 30814482c3cc518e8778cab4c9efa58a85128858
Author: Jeffrey Stedfast <jestedfa microsoft com>
Date:   Tue Nov 7 12:14:08 2017 -0500

    Get rid of testsuite_vprintf to silence compiler warning (+ unused)

 tests/testsuite.c |    9 ---------
 tests/testsuite.h |    1 -
 2 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/tests/testsuite.c b/tests/testsuite.c
index 07f61f6..41e0aa6 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -136,15 +136,6 @@ testsuite_printf (FILE *out, int verbosity, const char *fmt, ...)
 }
 
 void
-testsuite_vprintf (FILE *out, int verbosity, const char *fmt, va_list args)
-{
-       if (verbose < verbosity)
-               return;
-       
-       vfprintf (out, fmt, args);
-}
-
-void
 testsuite_start (const char *test)
 {
        struct _stack *s;
diff --git a/tests/testsuite.h b/tests/testsuite.h
index f8a2970..dad8420 100644
--- a/tests/testsuite.h
+++ b/tests/testsuite.h
@@ -32,7 +32,6 @@ void testsuite_init (int argc, char **argv);
 int testsuite_exit (void);
 
 void testsuite_printf (FILE *out, int verbosity, const char *fmt, ...) G_GNUC_PRINTF (3, 4);
-void testsuite_vprintf (FILE *out, int verbosity, const char *fmt, va_list args);
 
 /* start/end a test collection */
 void testsuite_start (const char *test);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]