You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2013/11/24 23:01:24 UTC

svn commit: r1545083 - /subversion/trunk/subversion/libsvn_repos/dump.c

Author: brane
Date: Sun Nov 24 22:01:24 2013
New Revision: 1545083

URL: http://svn.apache.org/r1545083
Log:
Silence a -Wshadow warning.

* subversion/libsvn_repos/dump.c (check_ucs_normalization):
   Renamed local variable 'basename' to 'name'.

Modified:
    subversion/trunk/subversion/libsvn_repos/dump.c

Modified: subversion/trunk/subversion/libsvn_repos/dump.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/dump.c?rev=1545083&r1=1545082&r2=1545083&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/dump.c (original)
+++ subversion/trunk/subversion/libsvn_repos/dump.c Sun Nov 24 22:01:24 2013
@@ -600,8 +600,8 @@ check_ucs_normalization(const char *path
                         void *notify_baton,
                         apr_pool_t *scratch_pool)
 {
-  const char *const basename = svn_relpath_basename(path, scratch_pool);
-  if (!svn_utf__is_normalized(basename, scratch_pool))
+  const char *const name = svn_relpath_basename(path, scratch_pool);
+  if (!svn_utf__is_normalized(name, scratch_pool))
     {
       svn_repos_notify_t *const notify =
         svn_repos_notify_create(svn_repos_notify_warning, scratch_pool);