subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1646615 - /subversion/trunk/subversion/libsvn_client/locking_commands.c
Date Fri, 19 Dec 2014 03:03:21 GMT
Author: hwright
Date: Fri Dec 19 03:03:20 2014
New Revision: 1646615

URL: http://svn.apache.org/r1646615
Log:
* subversion/libsvn_client/locking_commands.c:
    Don't allocate a variable that is never used.

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

Modified: subversion/trunk/subversion/libsvn_client/locking_commands.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/locking_commands.c?rev=1646615&r1=1646614&r2=1646615&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/locking_commands.c (original)
+++ subversion/trunk/subversion/libsvn_client/locking_commands.c Fri Dec 19 03:03:20 2014
@@ -402,10 +402,9 @@ organize_lock_targets(apr_array_header_t
                                 _("Unable to lock/unlock across multiple "
                                   "repositories"));
 
-      /* Now we need to create a couple of different hash mappings. */
+      /* Now we need to create our mapping. */
       rel_fs_paths = apr_hash_make(result_pool);
-      target_urls = apr_array_make(scratch_pool, targets->nelts,
-                                   sizeof(const char *));
+
       for (hi = apr_hash_first(scratch_pool, wc_info);
            hi;
            hi = apr_hash_next(hi))



Mime
View raw message