aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/memo-page.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-10-26 20:15:44 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-10-26 20:15:44 +0800
commit7517f413700c53fb8d6ae7e43957435060fd714f (patch)
treecbdf26199f130fd788bb7bedea41ecc0511683da /calendar/gui/dialogs/memo-page.c
parente48ca861ed32f75ae66aa6efab698635ef2b1cb9 (diff)
downloadgsoc2013-evolution-7517f413700c53fb8d6ae7e43957435060fd714f.tar.gz
gsoc2013-evolution-7517f413700c53fb8d6ae7e43957435060fd714f.tar.zst
gsoc2013-evolution-7517f413700c53fb8d6ae7e43957435060fd714f.zip
Zero out the GnomePilotRecord struct to silence a compiler warning.
2007-10-26 Matthew Barnes <mbarnes@redhat.com> * addressbook/conduit/address-conduit.c (local_record_to_pilot_record): * calendar/conduits/calendar/calendar-conduit.c (local_record_to_pilot_record): * calendar/conduits/memo/memo-conduit.c (local_record_to_pilot_record): * calendar/conduits/todo/todo-conduit.c (local_record_to_pilot_record): Zero out the GnomePilotRecord struct to silence a compiler warning. * calendar/gui/dialogs/memo-page.c (memo_page_select_organizer): Initialize def_address. * calendar/gui/e-itip-control.c: Use unions to avoid strict-aliasing violations. svn path=/trunk/; revision=34434
Diffstat (limited to 'calendar/gui/dialogs/memo-page.c')
-rw-r--r--calendar/gui/dialogs/memo-page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index 56d422bc18..c1890ee37e 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -1112,7 +1112,7 @@ memo_page_select_organizer (MemoPage *mpage, const char *backend_address)
MemoPagePrivate *priv;
GList *l;
EAccount *def_account;
- gchar *def_address;
+ gchar *def_address = NULL;
gboolean subscribed_cal = FALSE;
ESource *source = NULL;
const char *user_addr = NULL;