diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-15 23:16:25 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-16 10:50:05 +0800 |
commit | cae22334fa6bc395ccc421b09e0af94c89297c41 (patch) | |
tree | 84881f467c0448db044d8bb3533e044a7152bb2b /calendar/gui/alarm-notify/config-data.c | |
parent | d37784ed3db20fd74ea4b8d9fdfe58518370cea2 (diff) | |
download | gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.gz gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.bz2 gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.lz gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.xz gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.zst gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.zip |
Remove dead assignments found by clang.
Diffstat (limited to 'calendar/gui/alarm-notify/config-data.c')
-rw-r--r-- | calendar/gui/alarm-notify/config-data.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/calendar/gui/alarm-notify/config-data.c b/calendar/gui/alarm-notify/config-data.c index 406c28abd6..12d7aefa47 100644 --- a/calendar/gui/alarm-notify/config-data.c +++ b/calendar/gui/alarm-notify/config-data.c @@ -174,12 +174,9 @@ config_data_replace_string_list (const gchar *key, for (tmp = source; tmp; tmp = tmp->next) { if (strcmp (tmp->data, old) == 0) { - gboolean state; - g_free (tmp->data); tmp->data = g_strdup ((gchar *) new); - /* Should this be checked somewhere? */ - state = gconf_client_set_list (conf_client, + gconf_client_set_list (conf_client, key, GCONF_VALUE_STRING, source, |