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

Re: [PATCH] v7 #3460

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 28 Jan 2010 22:39:28 +0200 (Jerusalem Standard Time)

Stefan Sperling wrote on Thu, 28 Jan 2010 at 19:42 +0100:
> On Thu, Jan 28, 2010 at 07:18:15PM +0100, Daniel Näslund wrote:
> > Index: subversion/libsvn_diff/parse-diff.c
> > ===================================================================
> > --- subversion/libsvn_diff/parse-diff.c (revision 904119)
> > +++ subversion/libsvn_diff/parse-diff.c (arbetskopia)
> > @@ -224,6 +224,9 @@
> > svn_stream_t *original_text;
> > svn_stream_t *modified_text;
> > svn_linenum_t original_lines;
> > + svn_linenum_t leading_context = 0;
> > + svn_linenum_t trailing_context = 0;
> > + svn_boolean_t changed_line_seen = FALSE;
> > apr_pool_t *iterpool;
>
> One more thing: We can't declare more variables after starting to
> assign values to others. This breaks pre-C99 compilers.
>

These are declarations-with-initialization, not assignments, so they
should be okay.

> I'll fix this locally.
>
> Stefan
>
Received on 2010-01-28 21:39:51 CET

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.