You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2013/06/26 18:00:53 UTC

svn commit: r1496981 - /subversion/trunk/subversion/libsvn_client/cleanup.c

Author: stsp
Date: Wed Jun 26 16:00:53 2013
New Revision: 1496981

URL: http://svn.apache.org/r1496981
Log:
* subversion/libsvn_client/cleanup.c
  (svn_client_cleanup2): Reduce scope of a local variable. No functional change.

Modified:
    subversion/trunk/subversion/libsvn_client/cleanup.c

Modified: subversion/trunk/subversion/libsvn_client/cleanup.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/cleanup.c?rev=1496981&r1=1496980&r2=1496981&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/cleanup.c (original)
+++ subversion/trunk/subversion/libsvn_client/cleanup.c Wed Jun 26 16:00:53 2013
@@ -104,7 +104,6 @@ svn_client_cleanup2(const char *path,
 {
   const char *local_abspath;
   svn_error_t *err;
-  struct remove_unversioned_items_baton b;
 
   if (svn_path_is_url(path))
     return svn_error_createf(SVN_ERR_ILLEGAL_TARGET, NULL,
@@ -120,6 +119,8 @@ svn_client_cleanup2(const char *path,
  
   if (remove_unversioned_children)
     {
+      struct remove_unversioned_items_baton b;
+
       b.remove_ignored_items = no_ignore;
       b.notify_func = ctx->notify_func2;
       b.notify_baton = ctx->notify_baton2;