[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] redundant call to svn_path_cstring_from_utf8?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-02-27 18:50:39 CET

Is this old code that is redundant or is it checking something?

Index: subversion/libsvn_fs_base/fs.c
===================================================================
--- subversion/libsvn_fs_base/fs.c (revision 13177)
+++ subversion/libsvn_fs_base/fs.c (working copy)
@@ -542,7 +542,6 @@
 base_create (svn_fs_t *fs, const char *path, apr_pool_t *pool)
 {
   svn_error_t *svn_err;
- const char *path_apr;
   const char *path_native;
   base_fs_data_t *bfd;
 
@@ -557,7 +556,6 @@
 
   /* Initialize the fs's path. */
   fs->path = apr_pstrdup (fs->pool, path);
- SVN_ERR (svn_path_cstring_from_utf8 (&path_apr, fs->path, fs->pool));
 
   SVN_ERR (bdb_write_config (fs));
 

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 27 18:51:44 2005

This is an archived mail posted to the Subversion Dev mailing list.