From cae22334fa6bc395ccc421b09e0af94c89297c41 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 15 Jan 2010 10:16:25 -0500 Subject: Remove dead assignments found by clang. --- modules/calendar/e-cal-shell-view.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'modules/calendar/e-cal-shell-view.c') diff --git a/modules/calendar/e-cal-shell-view.c b/modules/calendar/e-cal-shell-view.c index c2eac56216..cd44f37c56 100644 --- a/modules/calendar/e-cal-shell-view.c +++ b/modules/calendar/e-cal-shell-view.c @@ -280,7 +280,6 @@ cal_shell_view_update_actions (EShellView *shell_view) GnomeCalendarViewType view_type; GnomeCalendar *calendar; ECalendarView *view; - ECalModel *model; GtkAction *action; GList *list, *iter; gboolean sensitive; @@ -291,7 +290,6 @@ cal_shell_view_update_actions (EShellView *shell_view) gboolean can_delete_primary_source; gboolean editable = TRUE; gboolean has_primary_source; - gboolean primary_source_is_system; gboolean recurring = FALSE; gboolean is_instance = FALSE; gboolean is_meeting = FALSE; @@ -309,7 +307,6 @@ cal_shell_view_update_actions (EShellView *shell_view) calendar = e_cal_shell_content_get_calendar (cal_shell_content); view_type = gnome_calendar_get_view (calendar); view = gnome_calendar_get_calendar_view (calendar, view_type); - model = e_calendar_view_get_model (view); list = e_calendar_view_get_selected_events (view); n_selected = g_list_length (list); @@ -373,8 +370,6 @@ cal_shell_view_update_actions (EShellView *shell_view) (state & E_CAL_SHELL_SIDEBAR_HAS_PRIMARY_SOURCE); can_delete_primary_source = (state & E_CAL_SHELL_SIDEBAR_CAN_DELETE_PRIMARY_SOURCE); - primary_source_is_system = - (state & E_CAL_SHELL_SIDEBAR_PRIMARY_SOURCE_IS_SYSTEM); refresh_supported = (state & E_CAL_SHELL_SIDEBAR_SOURCE_SUPPORTS_REFRESH); -- cgit v1.2.3