From 5cd169810edb711964930f20b42796edce355ce5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 17 Aug 2013 13:45:34 -0400 Subject: [PATCH] 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 file changed, 3 deletions(-) diff --git a/glib/tests/gdatetime.c b/glib/tests/gdatetime.c index 0cf5e8505..2902520a9 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");