[glib] gdateparser: Delete unused debug print function
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gdateparser: Delete unused debug print function
- Date: Fri, 2 Nov 2012 13:06:04 +0000 (UTC)
commit 055aa2b55e192a9c44fb0af07d8c1b3d8ef20b99
Author: Colin Walters <walters verbum org>
Date: Thu Nov 1 20:10:46 2012 -0400
gdateparser: Delete unused debug print function
https://bugzilla.gnome.org/show_bug.cgi?id=687385
tests/testgdateparser.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/tests/testgdateparser.c b/tests/testgdateparser.c
index ab94bcb..4736379 100644
--- a/tests/testgdateparser.c
+++ b/tests/testgdateparser.c
@@ -11,22 +11,6 @@
#include <string.h>
#include <locale.h>
-static void
-g_date_debug_print (GDate* d)
-{
- if (!d) g_print("NULL!\n");
- else
- g_print("julian: %u (%s) DMY: %u %u %u (%s)\n",
- d->julian_days,
- d->julian ? "valid" : "invalid",
- d->day,
- d->month,
- d->year,
- d->dmy ? "valid" : "invalid");
-
- fflush(stdout);
-}
-
/* These only work in the POSIX locale, maybe C too -
* type POSIX into the program to check them
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]