diff options
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/migration.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 1741368db6..7034193971 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2004-04-29 Jeffrey Stedfast <fejj@ximian.com> + + * gui/migration.c (migrate_pilot_data): Removed the terminating + NULL vararg since we don't need it for g_strdup_printf, it was + only needed when it was g_build_filename(). Gets rid of a gcc + warning. + 2004-04-29 Not Zed <NotZed@Ximian.com> * gui/e-itip-control.c (e_itip_control_set_data): check we find diff --git a/calendar/gui/migration.c b/calendar/gui/migration.c index 6cb1d5c2f9..e1d6731ba4 100644 --- a/calendar/gui/migration.c +++ b/calendar/gui/migration.c @@ -650,7 +650,7 @@ migrate_pilot_data (const char *component, const char *conduit, const char *old_ dbhash = e_dbhash_new (filename); g_free (filename); - filename = g_strdup_printf ("%s/%s.ics-%s", new_path, component, dent->d_name, NULL); + filename = g_strdup_printf ("%s/%s.ics-%s", new_path, component, dent->d_name); if (stat (filename, &st) != -1) unlink (filename); xmlhash = e_xmlhash_new (filename); |