[rhythmbox/wip/sam/meson: 171/171] Remove functions that are not needed (?!)



commit 1ef0b0e1bdd2e3d1d981208fd08938470a54917d
Author: Sam Thursfield <sam afuera me uk>
Date:   Sat Dec 15 22:11:51 2018 +0100

    Remove functions that are not needed  (?!)

 podcast/test-podcast-parse.c  | 28 ----------------------------
 podcast/test-podcast-search.c | 28 ----------------------------
 2 files changed, 56 deletions(-)
---
diff --git a/podcast/test-podcast-parse.c b/podcast/test-podcast-parse.c
index 0ad8c37f8..f685c1f73 100644
--- a/podcast/test-podcast-parse.c
+++ b/podcast/test-podcast-parse.c
@@ -38,34 +38,6 @@
 
 static gboolean debug = FALSE;
 
-void rb_debug_realf (const char *func,
-                   const char *file,
-                   int line,
-                   gboolean newline,
-                   const char *format, ...) G_GNUC_PRINTF (5, 6);
-
-/* For the benefit of the podcast parsing code */
-void
-rb_debug_realf (const char *func,
-               const char *file,
-               int line,
-               gboolean newline,
-               const char *format, ...)
-{
-       va_list args;
-       char buffer[1025];
-
-       if (debug == FALSE)
-               return;
-
-       va_start (args, format);
-       g_vsnprintf (buffer, 1024, format, args);
-       va_end (args);
-
-       g_printerr (newline ? "%s:%d [%s] %s\n" : "%s:%d [%s] %s",
-                   file, line, func, buffer);
-}
-
 int main (int argc, char **argv)
 {
        RBPodcastChannel *data;
diff --git a/podcast/test-podcast-search.c b/podcast/test-podcast-search.c
index 10ea73e9c..b99f3ae73 100644
--- a/podcast/test-podcast-search.c
+++ b/podcast/test-podcast-search.c
@@ -39,34 +39,6 @@
 static gboolean debug = FALSE;
 static int done = 0;
 
-void rb_debug_realf (const char *func,
-                    const char *file,
-                    int line,
-                    gboolean newline,
-                    const char *format, ...) G_GNUC_PRINTF (5, 6);
-
-/* For the benefit of the podcast parsing code */
-void
-rb_debug_realf (const char *func,
-               const char *file,
-               int line,
-               gboolean newline,
-               const char *format, ...)
-{
-       va_list args;
-       char buffer[1025];
-
-       if (debug == FALSE)
-               return;
-
-       va_start (args, format);
-       g_vsnprintf (buffer, 1024, format, args);
-       va_end (args);
-
-       g_printerr (newline ? "%s:%d [%s] %s\n" : "%s:%d [%s] %s",
-                   file, line, func, buffer);
-}
-
 static void
 result_cb (RBPodcastSearch *search, RBPodcastChannel *data)
 {


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