From 1f391b975297fc276073fd48406b2b02eed61277 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 22 Oct 2009 10:42:27 +0100 Subject: empathy-time.c: fix shadow declaration --- libempathy/empathy-time.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libempathy') diff --git a/libempathy/empathy-time.c b/libempathy/empathy-time.c index 19397e7a9..a39636dde 100644 --- a/libempathy/empathy-time.c +++ b/libempathy/empathy-time.c @@ -40,18 +40,18 @@ empathy_time_get_current (void) time_t empathy_time_get_local_time (struct tm *tm) { - const gchar *timezone; + const gchar *tz; time_t t; - timezone = g_getenv ("TZ"); + tz = g_getenv ("TZ"); g_setenv ("TZ", "", TRUE); tzset (); t = mktime (tm); - if (timezone) { - g_setenv ("TZ", timezone, TRUE); + if (tz) { + g_setenv ("TZ", tz, TRUE); } else { g_unsetenv ("TZ"); } -- cgit v1.2.3