Author: philip
Date: Thu Jan 12 13:36:18 2012
New Revision: 1230525

URL: http://svn.apache.org/viewvc?rev=1230525&view=rev
Log:
* subversion/libsvn_client/prop_commands.c
  (do_url_propset): Rename variable to avoid compiler warning about shadowing.

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

Modified: subversion/trunk/subversion/libsvn_client/prop_commands.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/prop_commands.c?rev=1230525&r1=1230524&r2=1230525&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/prop_commands.c (original)
+++ subversion/trunk/subversion/libsvn_client/prop_commands.c Thu Jan 12 
13:36:18 2012
@@ -134,10 +134,10 @@ do_url_propset(const char *url,
   if (kind == svn_node_file)
     {
       void *file_baton;
-      const char *basename = svn_uri_basename(url, pool);
+      const char *uri_basename = svn_uri_basename(url, pool);
 
-      SVN_ERR(editor->open_file(basename, root_baton, base_revision_for_url,
-                                pool, &file_baton));
+      SVN_ERR(editor->open_file(uri_basename, root_baton,
+                                base_revision_for_url, pool, &file_baton));
       SVN_ERR(editor->change_file_prop(file_baton, propname, propval, pool));
       SVN_ERR(editor->close_file(file_baton, NULL, pool));
     }


Reply via email to