subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r918207 - /subversion/trunk/subversion/libsvn_wc/adm_ops.c
Date Tue, 02 Mar 2010 21:52:07 GMT
Author: philip
Date: Tue Mar  2 21:52:07 2010
New Revision: 918207

URL: http://svn.apache.org/viewvc?rev=918207&view=rev
Log:
* subversion/libsvn_wc/adm_ops.c
  (revert_internal): Fix missing return and shadowed variable.

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

Modified: subversion/trunk/subversion/libsvn_wc/adm_ops.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_ops.c?rev=918207&r1=918206&r2=918207&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/adm_ops.c (original)
+++ subversion/trunk/subversion/libsvn_wc/adm_ops.c Tue Mar  2 21:52:07 2010
@@ -2028,7 +2028,7 @@
       unversioned = TRUE;
     }
   else if (err)
-    svn_error_return(err);
+    return svn_error_return(err);
   else
     unversioned = FALSE;
 
@@ -2133,7 +2133,7 @@
           const char *name = APR_ARRAY_IDX(children, i, const char *);
           const char *node_abspath;
           svn_boolean_t hidden;
-          svn_wc__db_kind_t db_kind;
+          svn_wc__db_kind_t child_db_kind;
 
           svn_pool_clear(iterpool);
 
@@ -2146,13 +2146,13 @@
 
           apr_hash_set(nodes, name, APR_HASH_KEY_STRING, name);
 
-          SVN_ERR(svn_wc__db_read_kind(&db_kind, db, node_abspath, FALSE,
+          SVN_ERR(svn_wc__db_read_kind(&child_db_kind, db, node_abspath, FALSE,
                                        iterpool));
 
           /* Skip subdirectories if we're called with depth-files. */
           if ((depth == svn_depth_files) &&
-              (db_kind != svn_wc__db_kind_file) &&
-              (db_kind != svn_wc__db_kind_symlink))
+              (child_db_kind != svn_wc__db_kind_file) &&
+              (child_db_kind != svn_wc__db_kind_symlink))
             continue;
 
           /* Revert the entry. */



Mime
View raw message