diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-10-26 20:15:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-10-26 20:15:44 +0800 |
commit | 7517f413700c53fb8d6ae7e43957435060fd714f (patch) | |
tree | cbdf26199f130fd788bb7bedea41ecc0511683da /addressbook | |
parent | e48ca861ed32f75ae66aa6efab698635ef2b1cb9 (diff) | |
download | gsoc2013-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 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/conduit/address-conduit.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index d5fe6eca64..40a45dd815 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2007-10-26 Matthew Barnes <mbarnes@redhat.com> + + * conduit/address-conduit.c (local_record_to_pilot_record): + Zero out the GnomePilotRecord struct to silence a compiler warning. + 2007-10-25 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #489661 diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c index 97cb92d145..f430696999 100644 --- a/addressbook/conduit/address-conduit.c +++ b/addressbook/conduit/address-conduit.c @@ -816,6 +816,8 @@ local_record_to_pilot_record (EAddrLocalRecord *local, LOG (g_message ( "local_record_to_pilot_record\n" )); + memset (&p, 0, sizeof (GnomePilotRecord)); + p.ID = local->local.ID; p.category = local->local.category; p.attr = local->local.attr; |