rem: int num_entries, i, written, len;
add: int num_entries, i;
context: gtk_playlist_save_current_playlist (GtkPlaylist *playlist, const char *output){	GnomeVFSHandle *handle;	GnomeVFSResult res;	int num_entries, i, written, len;	char *buf;	gboolean success;	num_entries = gtk_tree_model_iter_n_children		(playlist->_priv->model, NULL);	res = gnome_vfs_open (&handle, output, GNOME_VFS_OPEN_WRITE);	if (res == GNOME_VFS_ERROR_NOT_FOUND)	{		res = gnome_vfs_create (&handle, output,				GNOME_VFS_OPEN_WRITE, FALSE,				GNOME_VFS_PERM_USER_WRITE				| GNOME_VFS_PERM_USER_READ				| GNOME_VFS_PERM_GROUP_READ);	}	if (res != GNOME_VFS_OK)	{		g_message ("gtk_playlist_save_current_playlist: %s", gnome_vfs_result_to_string (res));		//FIXME		return;	}	buf = g_strdup ("[playlist]\n");	success = write_string (handle, buf);	g_free (buf);	if (success == FALSE)		return;	buf = g_strdup_printf ("numberofentries=%d\n", num_entries);	success = write_string (handle, buf);	g_free (buf);	if (success == FALSE)		return;	for (i = 1; i <= num_entries; i++)	{		GtkTreeIter iter;		char *path, *mrl, *title;		path = g_strdup_printf ("%d", i - 1);		gtk_tree_model_get_iter_from_string (playlist->_priv->model,				&iter, path);		g_free (path);		gtk_tree_model_get (playlist->_priv->model,				&iter,				URI_COL, &mrl,				FILENAME_COL, &title,				-1);		buf = g_strdup_printf ("file%d=%s\n", i, mrl);		success = write_string (handle, buf);		g_free (buf);		g_free (mrl);		if (success == FALSE)		{			g_free (title);			return;		}		buf = g_strdup_printf ("title%d=%s\n", i, title);		success = write_string (handle, buf);		g_free (buf);		g_free (title);		if (success == FALSE)			return;	}	gnome_vfs_close (handle);}