From 27eaf007188f5047af2f606544fded171dbfa2f3 Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 23 Nov 2021 08:57:27 +0100 Subject: datetime: declaration shadows a variable in the global scope --- plugins/datetime/msd-datetime-mechanism.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/datetime/msd-datetime-mechanism.c b/plugins/datetime/msd-datetime-mechanism.c index 0a2e32e..d048bb0 100644 --- a/plugins/datetime/msd-datetime-mechanism.c +++ b/plugins/datetime/msd-datetime-mechanism.c @@ -465,13 +465,9 @@ gboolean msd_datetime_mechanism_get_timezone (MsdDatetimeMechanism *mechism, DBusGMethodInvocation *context) { - gchar *timezone; - reset_killtimer (); - timezone = system_timezone_find (); - - dbus_g_method_return (context, timezone); + dbus_g_method_return (context, system_timezone_find ()); return TRUE; } -- cgit v1.2.1