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 /plugins/save-calendar | |
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 'plugins/save-calendar')
-rw-r--r-- | plugins/save-calendar/rdf-format.c | 2 | ||||
-rw-r--r-- | plugins/save-calendar/save-calendar.c | 12 |
2 files changed, 1 insertions, 13 deletions
diff --git a/plugins/save-calendar/rdf-format.c b/plugins/save-calendar/rdf-format.c index d28d2ef587..fd6a263287 100644 --- a/plugins/save-calendar/rdf-format.c +++ b/plugins/save-calendar/rdf-format.c @@ -207,7 +207,7 @@ do_save_calendar_rdf (FormatHandler *handler, ESourceSelector *selector, ECalSou if (stream && e_cal_get_object_list_as_comp (source_client, "#t", &objects, NULL)) { xmlBufferPtr buffer=xmlBufferCreate(); xmlDocPtr doc = xmlNewDoc((xmlChar *) "1.0"); - xmlNodePtr fnode = doc->children; + xmlNodePtr fnode; doc->children = xmlNewDocNode (doc, NULL, (const guchar *)"rdf:RDF", NULL); xmlSetProp (doc->children, (const guchar *)"xmlns:rdf", (const guchar *)"http://www.w3.org/1999/02/22-rdf-syntax-ns#"); diff --git a/plugins/save-calendar/save-calendar.c b/plugins/save-calendar/save-calendar.c index 212a439877..c8901b2d87 100644 --- a/plugins/save-calendar/save-calendar.c +++ b/plugins/save-calendar/save-calendar.c @@ -312,8 +312,6 @@ gboolean calendar_save_as_init (GtkUIManager *ui_manager, EShellView *shell_view) { - EShell *shell; - EShellSettings *shell_settings; EShellWindow *shell_window; GtkActionGroup *action_group; GtkAction *action; @@ -322,8 +320,6 @@ calendar_save_as_init (GtkUIManager *ui_manager, const gchar *name; shell_window = e_shell_view_get_shell_window (shell_view); - shell = e_shell_window_get_shell (shell_window); - shell_settings = e_shell_get_shell_settings (shell); name = "calendar-save-as"; tooltip = _("Save the selected calendar to disk"); @@ -347,8 +343,6 @@ gboolean memo_list_save_as_init (GtkUIManager *ui_manager, EShellView *shell_view) { - EShell *shell; - EShellSettings *shell_settings; EShellWindow *shell_window; GtkActionGroup *action_group; GtkAction *action; @@ -357,8 +351,6 @@ memo_list_save_as_init (GtkUIManager *ui_manager, const gchar *name; shell_window = e_shell_view_get_shell_window (shell_view); - shell = e_shell_window_get_shell (shell_window); - shell_settings = e_shell_get_shell_settings (shell); name = "memo-list-save-as"; tooltip = _("Save the selected memo list to disk"); @@ -382,8 +374,6 @@ gboolean task_list_save_as_init (GtkUIManager *ui_manager, EShellView *shell_view) { - EShell *shell; - EShellSettings *shell_settings; EShellWindow *shell_window; GtkActionGroup *action_group; GtkAction *action; @@ -392,8 +382,6 @@ task_list_save_as_init (GtkUIManager *ui_manager, const gchar *name; shell_window = e_shell_view_get_shell_window (shell_view); - shell = e_shell_window_get_shell (shell_window); - shell_settings = e_shell_get_shell_settings (shell); name = "task-list-save-as"; tooltip = _("Save the selected task list to disk"); |