subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1095199 - /subversion/trunk/subversion/svn/propset-cmd.c
Date Tue, 19 Apr 2011 20:36:00 GMT
Author: hwright
Date: Tue Apr 19 20:36:00 2011
New Revision: 1095199

URL: http://svn.apache.org/viewvc?rev=1095199&view=rev
Log:
* subversion/svn/propset-cmd.c:
  (svn_cl__propset): Followup to r1095195 by removing an unneeded loop.

Modified:
    subversion/trunk/subversion/svn/propset-cmd.c

Modified: subversion/trunk/subversion/svn/propset-cmd.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/propset-cmd.c?rev=1095199&r1=1095198&r2=1095199&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/propset-cmd.c (original)
+++ subversion/trunk/subversion/svn/propset-cmd.c Tue Apr 19 20:36:00 2011
@@ -130,8 +130,6 @@ svn_cl__propset(apr_getopt_t *os,
     }
   else  /* operate on a normal, versioned property (not a revprop) */
     {
-      int i;
-
       if (opt_state->depth == svn_depth_unknown)
         opt_state->depth = svn_depth_empty;
 
@@ -177,14 +175,8 @@ svn_cl__propset(apr_getopt_t *os,
                                   NULL, svn_cl__print_commit_info, NULL, ctx,
                                   scratch_pool));
 
-      for (i = 0; i < targets->nelts; i++)
-        {
-          const char *target = APR_ARRAY_IDX(targets, i, const char *);
-
-          if (! opt_state->quiet)
-            svn_cl__check_boolean_prop_val(pname_utf8, propval->data,
-                                           scratch_pool);
-        }
+      if (! opt_state->quiet)
+        svn_cl__check_boolean_prop_val(pname_utf8, propval->data, scratch_pool);
     }
 
   return SVN_NO_ERROR;



Mime
View raw message