You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2013/11/20 18:06:31 UTC
svn commit: r1543880 - /subversion/trunk/subversion/svnmucc/svnmucc.c
Author: julianfoad
Date: Wed Nov 20 17:06:30 2013
New Revision: 1543880
URL: http://svn.apache.org/r1543880
Log:
* subversion/svnmucc/svnmucc.c
(sub_main): Simplify an error return by using the SVN_ERR_W macro.
Modified:
subversion/trunk/subversion/svnmucc/svnmucc.c
Modified: subversion/trunk/subversion/svnmucc/svnmucc.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnmucc/svnmucc.c?rev=1543880&r1=1543879&r2=1543880&view=diff
==============================================================================
--- subversion/trunk/subversion/svnmucc/svnmucc.c (original)
+++ subversion/trunk/subversion/svnmucc/svnmucc.c Wed Nov 20 17:06:30 2013
@@ -1351,12 +1351,10 @@ sub_main(int *exit_code, int argc, const
&& svn_prop_needs_translation(action->prop_name))
{
svn_string_t *translated_value;
- SVN_ERR(svn_error_quick_wrap(
- svn_subst_translate_string2(
- &translated_value, NULL,
- NULL, action->prop_value, NULL,
- FALSE, pool, pool),
- "Error normalizing property value"));
+ SVN_ERR_W(svn_subst_translate_string2(&translated_value, NULL,
+ NULL, action->prop_value,
+ NULL, FALSE, pool, pool),
+ "Error normalizing property value");
action->prop_value = translated_value;
}
}