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 2011/05/15 13:12:56 UTC
svn commit: r1103316 - /subversion/trunk/subversion/libsvn_wc/wc_db.c
Author: philip
Date: Sun May 15 11:12:55 2011
New Revision: 1103316
URL: http://svn.apache.org/viewvc?rev=1103316&view=rev
Log:
Fix two compiler warnings about unused items.
* subversion/libsvn_wc/wc_db.c
(db_external_remove): Wrap in conditional.
(svn_wc__db_external_remove): Remove unused variable.
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=1103316&r1=1103315&r2=1103316&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db.c Sun May 15 11:12:55 2011
@@ -2955,6 +2955,7 @@ svn_wc__db_external_add_dir(svn_wc__db_t
&ieb, scratch_pool));
}
+#if SVN_WC__VERSION >= SVN_WC__HAS_EXTERNALS_STORE
static svn_error_t *
db_external_remove(void *baton, svn_wc__db_wcroot_t *wcroot,
const char *local_relpath, apr_pool_t *scratch_pool)
@@ -2969,6 +2970,7 @@ db_external_remove(void *baton, svn_wc__
/* ### What about actual? */
return SVN_NO_ERROR;
}
+#endif
svn_error_t *
svn_wc__db_external_remove(svn_wc__db_t *db,
@@ -4959,7 +4961,6 @@ populate_targets_tree(svn_wc__db_wcroot_
const apr_array_header_t *changelist_filter,
apr_pool_t *scratch_pool)
{
- svn_boolean_t have_row;
svn_sqlite__stmt_t *stmt;
const char *parent_relpath;