From eb7d3c0d1cde7b279a3395d6a10d0b755d8e36d0 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 29 Apr 2004 16:23:25 +0000 Subject: Removed the terminating NULL vararg since we don't need it for 2004-04-29 Jeffrey Stedfast * 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. svn path=/trunk/; revision=25689 --- calendar/gui/migration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui/migration.c') 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); -- cgit v1.2.3