tests: Drop dead code from GDateTime test

Spotted by `scan-build`.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall 2020-11-23 16:43:31 +00:00
parent 72360eb8bd
commit 6fcc4db228

View File

@ -1526,12 +1526,6 @@ GDateTime *__dt = g_date_time_new_local (2009, 10, 24, 0, 0, 0);\
get_localtime_tm (t, &tt);
strftime (dst, sizeof(dst), "%Z", &tt);
/* get current time_t for 20090924 in the local timezone */
tt.tm_sec = 0;
tt.tm_min = 0;
tt.tm_hour = 0;
t = mktime (&tt);
TEST_PRINTF ("%a", "Sat");
TEST_PRINTF ("%A", "Saturday");
TEST_PRINTF ("%b", "Oct");