On Fri, Mar 2, 2012 at 14:57,  <hwri...@apache.org> wrote:
>...
> +++ subversion/trunk/subversion/libsvn_client/commit.c Fri Mar  2 19:57:22 
> 2012
> @@ -671,6 +671,7 @@ get_ra_editor(svn_ra_session_t **ra_sess
>   SVN_ERR(svn_client__ensure_revprop_table(&commit_revprops, revprop_table,
>                                            log_msg, ctx, pool));
>
> +#ifdef ENABLE_EDITOR_SHIMS
>   /* We need this for the shims. */
>   if (base_dir_abspath)
>     {
> @@ -686,6 +687,7 @@ get_ra_editor(svn_ra_session_t **ra_sess
>     }
>   else
>     anchor_abspath = NULL;
> +#endif
>
>   /* Fetch RA commit editor. */
>   SVN_ERR(svn_ra__register_editor_shim_callbacks(*ra_session,

The above code will pass an uninitialized ANCHOR_ABSPATH into
svn_ra__register_editor_shim_callbacks().

I'd suggested shifting the #endif down a few lines.

Cheers,
-g

Reply via email to