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/gnome-cal.c | |
parent | d37784ed3db20fd74ea4b8d9fdfe58518370cea2 (diff) | |
download | gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.gz gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.tar.zst gsoc2013-evolution-cae22334fa6bc395ccc421b09e0af94c89297c41.zip |
Remove dead assignments found by clang.
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r-- | calendar/gui/gnome-cal.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index abd6a36532..f4bfbe1d5e 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1307,13 +1307,10 @@ update_todo_view_cb (GnomeCalendar *gcal) static gboolean update_marcus_bains_line_cb (GnomeCalendar *gcal) { - GnomeCalendarPrivate *priv; GnomeCalendarViewType view_type; ECalendarView *view; time_t now, day_begin; - priv = gcal->priv; - view_type = gnome_calendar_get_view (gcal); view = gnome_calendar_get_calendar_view (gcal, view_type); @@ -1905,7 +1902,6 @@ client_cal_opened_cb (ECal *ecal, ECalendarStatus status, GnomeCalendar *gcal) g_hash_table_insert (non_intrusive_error_table, id, g_object_ref(w)); g_signal_connect(w, "destroy", G_CALLBACK(non_intrusive_error_remove), id); - status = E_CALENDAR_STATUS_OK; break; case E_CALENDAR_STATUS_AUTHENTICATION_FAILED: /* try to reopen calendar - it'll ask for a password once again */ @@ -2023,12 +2019,9 @@ typedef void (*open_func) (ECal *, ECalendarStatus, GnomeCalendar *); static gboolean open_ecal (GnomeCalendar *gcal, ECal *cal, gboolean only_if_exists, open_func of) { - GnomeCalendarPrivate *priv; gchar *msg; icaltimezone *zone; - priv = gcal->priv; - zone = calendar_config_get_icaltimezone (); e_cal_set_default_timezone (cal, zone, NULL); @@ -2550,14 +2543,11 @@ check_instance_cb (ECalComponent *comp, void gnome_calendar_purge (GnomeCalendar *gcal, time_t older_than) { - GnomeCalendarPrivate *priv; gchar *sexp, *start, *end; GList *clients, *l; g_return_if_fail (GNOME_IS_CALENDAR (gcal)); - priv = gcal->priv; - start = isodate_from_time_t (0); end = isodate_from_time_t (older_than); sexp = g_strdup_printf ("(occur-in-time-range? (make-time \"%s\")" |