2009-07-09 20:31:22 David Glasser napisaĆ(a):
> On Thu, Jul 9, 2009 at 11:19 AM, David Glasser<glasser_at_davidglasser.net> wrote:
> > Author: glasser
> > Date: Thu Jul 9 11:19:10 2009
> > New Revision: 38388
> >
> > Log:
> > * subversion/mod_dav_svn/reports/deleted_rev.c
> > (dav_svn__get_deleted_rev_report): Initialize variables which may not get
> > assigned to if user input isn't complete.
> >
> > Modified:
> > trunk/subversion/mod_dav_svn/reports/deleted-rev.c
> >
> > Modified: trunk/subversion/mod_dav_svn/reports/deleted-rev.c
> > URL: http://svn.collab.net/viewvc/svn/trunk/subversion/mod_dav_svn/reports/deleted-rev.c?pathrev=38388&r1=38387&r2=38388
> > ==============================================================================
> > --- trunk/subversion/mod_dav_svn/reports/deleted-rev.c Thu Jul 9 10:56:05 2009 (r38387)
> > +++ trunk/subversion/mod_dav_svn/reports/deleted-rev.c Thu Jul 9 11:19:10 2009 (r38388)
> > @@ -43,8 +43,9 @@ dav_svn__get_deleted_rev_report(const da
> > {
> > apr_xml_elem *child;
> > int ns;
> > - const char *rel_path, *abs_path;
> > - svn_revnum_t peg_rev, end_rev, deleted_rev;
> > + const char *rel_path = NULL, *abs_path;
> > + svn_revnum_t peg_rev = SVN_INVALID_REVNUM, end_rev = SVN_INVALID_REVNUM,
> > + deleted_rev;
> > apr_bucket_brigade *bb;
> > svn_error_t *err;
> > apr_status_t apr_err;
>
> This should be backported to 1.6.
Feel free to nominate it in STATUS file on the 1.6.x branch :) .
--
Arfrever Frehtes Taifersar Arahesis
Received on 2009-07-09 20:34:37 CEST