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/07/26 20:39:22 UTC
svn commit: r1507391 - /subversion/trunk/subversion/include/svn_hash.h
Author: breser
Date: Fri Jul 26 18:39:21 2013
New Revision: 1507391
URL: http://svn.apache.org/r1507391
Log:
* subversion/include/svn_config.h:
(svn_hash_sets): Change temp variable name to avoid shadow warnings.
Suggested by: philip
[This is the commit that was intended to be committed in r1507390]
Modified:
subversion/trunk/subversion/include/svn_hash.h
Modified: subversion/trunk/subversion/include/svn_hash.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_hash.h?rev=1507391&r1=1507390&r2=1507391&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_hash.h (original)
+++ subversion/trunk/subversion/include/svn_hash.h Fri Jul 26 18:39:21 2013
@@ -251,10 +251,10 @@ svn_hash_from_cstring_keys(apr_hash_t **
*
* @since New in 1.8.
*/
-#define svn_hash_sets(ht, key, val) \
- do { \
- const void *keystr = (key); \
- apr_hash_set(ht, keystr, strlen(keystr), val); \
+#define svn_hash_sets(ht, key, val) \
+ do { \
+ const void *svn_key__temp = (key); \
+ apr_hash_set(ht, svn_key__temp, strlen(svn_key__temp), val); \
} while (0)
/** @} */