subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1228082 - /subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c
Date Fri, 06 Jan 2012 11:02:11 GMT
Author: philip
Date: Fri Jan  6 11:02:11 2012
New Revision: 1228082

URL: http://svn.apache.org/viewvc?rev=1228082&view=rev
Log:
* subversion/libsvn_fs_fs/fs_fs.c
  (write_hash_rep): Make conditional to avoid "unused" warnings when
   directory deltification is not enabled.

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

Modified: subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c?rev=1228082&r1=1228081&r2=1228082&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Fri Jan  6 11:02:11 2012
@@ -5632,6 +5632,7 @@ write_hash_rep(svn_filesize_t *size,
 /* Write out the hash HASH pertaining to the NODEREV in FS as a deltified
    text representation to file FILE.  In the process, record the total size
    and the md5 digest in REP.  Perform temporary allocations in POOL. */
+#ifdef SVN_FS_FS_DELTIFY_DIRECTORIES
 static svn_error_t *
 write_hash_delta_rep(representation_t *rep,
                      apr_file_t *file,
@@ -5713,6 +5714,7 @@ write_hash_delta_rep(representation_t *r
 
   return SVN_NO_ERROR;
 }
+#endif
 
 /* Sanity check ROOT_NODEREV, a candidate for being the root node-revision
    of (not yet committed) revision REV in FS.  Use POOL for temporary



Mime
View raw message