[glib] Take out an unused line from gdatetime tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Take out an unused line from gdatetime tests
- Date: Sat, 17 Aug 2013 17:46:45 +0000 (UTC)
commit 5cd169810edb711964930f20b42796edce355ce5
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 17 13:45:34 2013 -0400
Take out an unused line from gdatetime tests
This line was apparently causing build problems on Win64,
and since the only test involving the t_str variable was
already commented out, lets just take this out altogether.
https://bugzilla.gnome.org/show_bug.cgi?id=696970
glib/tests/gdatetime.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/glib/tests/gdatetime.c b/glib/tests/gdatetime.c
index 0cf5e85..2902520 100644
--- a/glib/tests/gdatetime.c
+++ b/glib/tests/gdatetime.c
@@ -812,7 +812,6 @@ test_GDateTime_printf (void)
gchar dst[64];
struct tm tt;
time_t t;
- gchar t_str[16];
#define TEST_PRINTF(f,o) G_STMT_START { \
GDateTime *__dt = g_date_time_new_local (2009, 10, 24, 0, 0, 0);\
@@ -855,7 +854,6 @@ GDateTime *__dt = g_date_time_new_local (2009, 10, 24, 0, 0, 0);\
tt.tm_min = 0;
tt.tm_hour = 0;
t = mktime (&tt);
- g_sprintf (t_str, "%ld", t);
TEST_PRINTF ("%a", "Sat");
TEST_PRINTF ("%A", "Saturday");
@@ -887,7 +885,6 @@ GDateTime *__dt = g_date_time_new_local (2009, 10, 24, 0, 0, 0);\
TEST_PRINTF_TIME (13, 13, 13, "%r", "01:13:13 PM");
TEST_PRINTF ("%R", "00:00");
TEST_PRINTF_TIME (13, 13, 31, "%R", "13:13");
- //TEST_PRINTF ("%s", t_str);
TEST_PRINTF ("%S", "00");
TEST_PRINTF ("%t", " ");
TEST_PRINTF ("%u", "6");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]