From 1df3152d0a2001d0a85cdc960a38e2cbcb395bb9 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 13 May 2009 17:27:50 -0400 Subject: Remove an unnecessary variable from get_attachment_list(). --- calendar/gui/dialogs/comp-editor.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'calendar/gui/dialogs') diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 440cf35388..bee9daf99a 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -212,7 +212,7 @@ get_attachment_list (CompEditor *editor) EAttachmentView *view; GtkTreeModel *model; GtkTreeIter iter; - GSList *parts = NULL, *list = NULL; + GSList *list = NULL; const char *comp_uid = NULL; const char *local_store = e_cal_get_local_attachment_store (editor->priv->client); gboolean valid; @@ -297,8 +297,6 @@ get_attachment_list (CompEditor *editor) g_free (filename); } - if (parts) - g_slist_free (parts); return list; } -- cgit v1.2.3