You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2011/05/02 15:06:08 UTC
svn commit: r1098547 - /subversion/trunk/subversion/libsvn_wc/update_editor.c
Author: hwright
Date: Mon May 2 13:06:08 2011
New Revision: 1098547
URL: http://svn.apache.org/viewvc?rev=1098547&view=rev
Log:
* subversion/libsvn_wc/update_editor.c
(close_directory): Initialize a conditionally-set variable.
Modified:
subversion/trunk/subversion/libsvn_wc/update_editor.c
Modified: subversion/trunk/subversion/libsvn_wc/update_editor.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/update_editor.c?rev=1098547&r1=1098546&r2=1098547&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/update_editor.c (original)
+++ subversion/trunk/subversion/libsvn_wc/update_editor.c Mon May 2 13:06:08 2011
@@ -2272,7 +2272,7 @@ close_directory(void *dir_baton,
apr_hash_t *base_props;
apr_hash_t *actual_props;
apr_hash_t *new_base_props = NULL, *new_actual_props = NULL;
- svn_revnum_t new_changed_rev;
+ svn_revnum_t new_changed_rev = SVN_INVALID_REVNUM;
apr_time_t new_changed_date;
const char *new_changed_author;
apr_pool_t *scratch_pool = db->pool;
Re: svn commit: r1098547 - /subversion/trunk/subversion/libsvn_wc/update_editor.c
Posted by Greg Stein <gs...@gmail.com>.
On Mon, May 2, 2011 at 09:06, <hw...@apache.org> wrote:
>...
> +++ subversion/trunk/subversion/libsvn_wc/update_editor.c Mon May 2 13:06:08 2011
> @@ -2272,7 +2272,7 @@ close_directory(void *dir_baton,
> apr_hash_t *base_props;
> apr_hash_t *actual_props;
> apr_hash_t *new_base_props = NULL, *new_actual_props = NULL;
> - svn_revnum_t new_changed_rev;
> + svn_revnum_t new_changed_rev = SVN_INVALID_REVNUM;
> apr_time_t new_changed_date;
> const char *new_changed_author;
Seems silly to "fix" new_changed_rev, but not fix new_changed_date and
new_changed_author.