You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2010/11/12 13:21:31 UTC
svn commit: r1034367 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Author: julianfoad
Date: Fri Nov 12 12:21:30 2010
New Revision: 1034367
URL: http://svn.apache.org/viewvc?rev=1034367&view=rev
Log:
* subversion/libsvn_wc/wc_db.c
(scan_addition): Ifdef-out variables that are not used in
SVN_WC__OP_DEPTH builds.
Modified:
subversion/trunk/subversion/libsvn_wc/wc_db.c
Modified: subversion/trunk/subversion/libsvn_wc/wc_db.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.c?rev=1034367&r1=1034366&r2=1034367&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Fri Nov 12 12:21:30 2010
@@ -6791,10 +6791,12 @@ scan_addition(svn_wc__db_status_t *statu
apr_pool_t *scratch_pool)
{
const char *current_relpath = local_relpath;
- const char *child_relpath = NULL;
const char *build_relpath = "";
svn_wc__db_wcroot_t *wcroot = pdh->wcroot;
+#ifndef SVN_WC__OP_DEPTH
svn_boolean_t found_info = FALSE;
+ const char *child_relpath = NULL;
+#endif
/* Initialize most of the OUT parameters. Generally, we'll only be filling
in a subset of these, so it is easier to init all up front. Note that