From 3faf8d6bffc5d0fb2525ba37bb504c53366caf9d Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 8 May 2018 03:44:38 +0000 Subject: Import Subversion-1.10.0 --- subversion/libsvn_wc/props.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'subversion/libsvn_wc/props.c') diff --git a/subversion/libsvn_wc/props.c b/subversion/libsvn_wc/props.c index 664bcf1706649..f56899d860023 100644 --- a/subversion/libsvn_wc/props.c +++ b/subversion/libsvn_wc/props.c @@ -2170,11 +2170,8 @@ svn_wc_canonicalize_svn_prop(const svn_string_t **propval_p, /* Keep this static, it may get stored (for read-only purposes) in a hash that outlives this function. */ - static const svn_string_t boolean_value = - { - SVN_PROP_BOOLEAN_TRUE, - sizeof(SVN_PROP_BOOLEAN_TRUE) - 1 - }; + static const svn_string_t boolean_value + = SVN__STATIC_STRING(SVN_PROP_BOOLEAN_TRUE); SVN_ERR(validate_prop_against_node_kind(propname, path, kind, pool)); -- cgit v1.2.3