summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--navit/util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/navit/util.c b/navit/util.c
index 45faa73a7..cbb42f144 100644
--- a/navit/util.c
+++ b/navit/util.c
@@ -333,11 +333,6 @@ char *
current_to_iso8601(void)
{
char *timep=NULL;
-#ifdef HAVE_GLIB
- GTimeVal time;
- g_get_current_time(&time);
- timep = g_time_val_to_iso8601(&time);
-#else
#ifdef HAVE_API_WIN32_BASE
SYSTEMTIME ST;
GetSystemTime(&ST);
@@ -353,7 +348,6 @@ current_to_iso8601(void)
timep=g_strdup(buffer);
}
#endif
-#endif
return timep;
}