aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/migration.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-30 00:23:25 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-30 00:23:25 +0800
commiteb7d3c0d1cde7b279a3395d6a10d0b755d8e36d0 (patch)
tree98a9c02b17a36211d9ce5a1dcb9af2862b547550 /calendar/gui/migration.c
parentff320608f737dfefe176bc1200f23a01e9a2665c (diff)
downloadgsoc2013-evolution-eb7d3c0d1cde7b279a3395d6a10d0b755d8e36d0.tar
gsoc2013-evolution-eb7d3c0d1cde7b279a3395d6a10d0b755d8e36d0.tar.gz
gsoc2013-evolution-eb7d3c0d1cde7b279a3395d6a10d0b755d8e36d0.tar.bz2
gsoc2013-evolution-eb7d3c0d1cde7b279a3395d6a10d0b755d8e36d0.tar.lz
gsoc2013-evolution-eb7d3c0d1cde7b279a3395d6a10d0b755d8e36d0.tar.xz
gsoc2013-evolution-eb7d3c0d1cde7b279a3395d6a10d0b755d8e36d0.tar.zst
gsoc2013-evolution-eb7d3c0d1cde7b279a3395d6a10d0b755d8e36d0.zip
Removed the terminating NULL vararg since we don't need it for
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. svn path=/trunk/; revision=25689
Diffstat (limited to 'calendar/gui/migration.c')
-rw-r--r--calendar/gui/migration.c2
1 files changed, 1 insertions, 1 deletions
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);