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

Re: svn commit: r992390 - in /subversion/trunk/subversion: include/private/svn_sqlite.h libsvn_subr/sqlite.c libsvn_wc/wc_db.c libsvn_wc/wc_db.h

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 3 Sep 2010 21:38:39 +0300

rhuijben_at_apache.org wrote on Fri, Sep 03, 2010 at 17:34:52 -0000:
> + for (i = 0; i < db->nbr_statements; i++)
> + if (db->prepared_stmts[i] && db->prepared_stmts[i]->needs_reset)
> + err2 = svn_error_compose_create(
> + err2,
> + svn_sqlite__reset(db->prepared_stmts[i]));
> +
> + err2 = svn_error_compose_create(
> + exec_sql(db, release_stmt),
> + err2);

Should the second "err2 = ..." line be inside the if, or not?

If yes, need { } block.

If not, indentation is wrong.
Received on 2010-09-03 20:44:26 CEST

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