You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2010/08/03 16:04:08 UTC

svn commit: r981890 - /subversion/trunk/subversion/libsvn_wc/update_editor.c

Author: hwright
Date: Tue Aug  3 14:04:07 2010
New Revision: 981890

URL: http://svn.apache.org/viewvc?rev=981890&view=rev
Log:
* subversion/libsvn_wc/update_editor.c
  (prep_directory): Only define a couple of variables if not in single-db.

Modified:
    subversion/trunk/subversion/libsvn_wc/update_editor.c

Modified: subversion/trunk/subversion/libsvn_wc/update_editor.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/update_editor.c?rev=981890&r1=981889&r2=981890&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/update_editor.c (original)
+++ subversion/trunk/subversion/libsvn_wc/update_editor.c Tue Aug  3 14:04:07 2010
@@ -1176,9 +1176,11 @@ prep_directory(struct dir_baton *db,
                svn_revnum_t ancestor_revision,
                apr_pool_t *pool)
 {
-  const char *repos_root;
   const char *dir_abspath;
+#ifndef SINGLE_DB
+  const char *repos_root;
   svn_boolean_t locked_here;
+#endif
 
   dir_abspath = db->local_abspath;