You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2014/05/16 05:56:19 UTC

svn commit: r1595097 - /subversion/trunk/subversion/libsvn_fs_fs/transaction.c

Author: stefan2
Date: Fri May 16 03:56:19 2014
New Revision: 1595097

URL: http://svn.apache.org/r1595097
Log:
* subversion/libsvn_fs_fs/transaction.c
  (path_and_offset_of): Remove unused function.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/transaction.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/transaction.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/transaction.c?rev=1595097&r1=1595096&r2=1595097&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/transaction.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/transaction.c Fri May 16 03:56:19 2014
@@ -104,26 +104,6 @@ path_txn_next_ids(svn_fs_t *fs,
                          PATH_NEXT_IDS, pool);
 }
 
-static APR_INLINE const char *
-path_and_offset_of(apr_file_t *file, apr_pool_t *pool)
-{
-  const char *path;
-  apr_off_t offset = 0;
-  svn_error_t *err;
-
-  err = svn_io_file_name_get(&path, file, pool);
-  if (err)
-    {
-      svn_error_clear(err);
-      path = "(unknown)";
-    }
-
-  if (apr_file_seek(file, APR_CUR, &offset) != APR_SUCCESS)
-    offset = -1;
-
-  return apr_psprintf(pool, "%s:%" APR_OFF_T_FMT, path, offset);
-}
-
 
 /* The vtable associated with an open transaction object. */
 static txn_vtable_t txn_vtable = {