You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2012/10/29 15:40:08 UTC

svn commit: r1403322 - /subversion/trunk/subversion/libsvn_repos/replay.c

Author: philip
Date: Mon Oct 29 14:40:07 2012
New Revision: 1403322

URL: http://svn.apache.org/viewvc?rev=1403322&view=rev
Log:
Avoid defined-but-not-used warning.

* subversion/libsvn_repos/replay.c
  (fetch_kind_func, fetch_props_func): Make these conditional to match caller.

Modified:
    subversion/trunk/subversion/libsvn_repos/replay.c

Modified: subversion/trunk/subversion/libsvn_repos/replay.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/replay.c?rev=1403322&r1=1403321&r2=1403322&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/replay.c (original)
+++ subversion/trunk/subversion/libsvn_repos/replay.c Mon Oct 29 14:40:07 2012
@@ -781,6 +781,7 @@ path_driver_cb_func(void **dir_baton,
   return SVN_NO_ERROR;
 }
 
+#ifdef USE_EV2_IMPL
 static svn_error_t *
 fetch_kind_func(svn_kind_t *kind,
                 void *baton,
@@ -823,6 +824,7 @@ fetch_props_func(apr_hash_t **props,
 
   return SVN_NO_ERROR;
 }
+#endif