diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-14 05:27:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-14 05:29:05 +0800 |
commit | cdfa00701f45b3ada6bbec771ab4531b09a7b83d (patch) | |
tree | 5f3c94804b36bafa97457e625022bd456df99da4 | |
parent | 6d6c1171ec57818c96e9f1f00fb0502791cbeab8 (diff) | |
download | gsoc2013-evolution-cdfa00701f45b3ada6bbec771ab4531b09a7b83d.tar.gz gsoc2013-evolution-cdfa00701f45b3ada6bbec771ab4531b09a7b83d.tar.zst gsoc2013-evolution-cdfa00701f45b3ada6bbec771ab4531b09a7b83d.zip |
Remove an unnecessary variable from get_attachment_list().
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 4af998eb26..2a1513327e 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -197,7 +197,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; @@ -282,8 +282,6 @@ get_attachment_list (CompEditor *editor) g_free (filename); } - if (parts) - g_slist_free (parts); return list; } |