subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1545083 - /subversion/trunk/subversion/libsvn_repos/dump.c
Date Sun, 24 Nov 2013 22:01:24 GMT
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);



Mime
View raw message