[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r38388 - trunk/subversion/mod_dav_svn/reports

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Tue, 28 Jul 2009 11:09:15 -0400

Proposed. (Interpreted your suggestion as a +1 votes on that backport, too.)

David Glasser wrote:
> This should be backported to 1.6.
>
> --dave
>
> 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;
>>
>> ------------------------------------------------------
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=495&dsMessageId=2369465
>>
>
>
>

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2376304

Received on 2009-07-28 17:09:36 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.