aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-14 05:27:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-21 09:58:47 +0800
commit1df3152d0a2001d0a85cdc960a38e2cbcb395bb9 (patch)
treeb7b149f6e993a4e74fdb7fff001b56e6250eea00 /calendar
parentd121c3ba1da75d01d6ca174830e1454d73eda8b1 (diff)
downloadgsoc2013-evolution-1df3152d0a2001d0a85cdc960a38e2cbcb395bb9.tar
gsoc2013-evolution-1df3152d0a2001d0a85cdc960a38e2cbcb395bb9.tar.gz
gsoc2013-evolution-1df3152d0a2001d0a85cdc960a38e2cbcb395bb9.tar.bz2
gsoc2013-evolution-1df3152d0a2001d0a85cdc960a38e2cbcb395bb9.tar.lz
gsoc2013-evolution-1df3152d0a2001d0a85cdc960a38e2cbcb395bb9.tar.xz
gsoc2013-evolution-1df3152d0a2001d0a85cdc960a38e2cbcb395bb9.tar.zst
gsoc2013-evolution-1df3152d0a2001d0a85cdc960a38e2cbcb395bb9.zip
Remove an unnecessary variable from get_attachment_list().
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/dialogs/comp-editor.c4
1 files changed, 1 insertions, 3 deletions
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;
}