summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-11-23 08:57:27 +0100
committerraveit65 <[email protected]>2022-03-10 23:21:15 +0100
commit27eaf007188f5047af2f606544fded171dbfa2f3 (patch)
tree42ad122c0e4da8f6066ec91c9a1203f9bd4fc788 /plugins
parent1604c4ca1857e6a34b3d32b656e7bbcd36bf429a (diff)
downloadmate-settings-daemon-27eaf007188f5047af2f606544fded171dbfa2f3.tar.bz2
mate-settings-daemon-27eaf007188f5047af2f606544fded171dbfa2f3.tar.xz
datetime: declaration shadows a variable in the global scope
Diffstat (limited to 'plugins')
-rw-r--r--plugins/datetime/msd-datetime-mechanism.c6
1 files changed, 1 insertions, 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;
}