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

Re: svn commit: r10242 - trunk/subversion/libsvn_repos

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-07-12 03:20:14 CEST

On Sun, 2004-07-11 at 18:07, rooneg@tigris.org wrote:
> - if (src_rev_from_map = apr_hash_get (pb->rev_map, &nb->copyfrom_rev,
> - sizeof(nb->copyfrom_rev)))
> + if ((src_rev_from_map = apr_hash_get (pb->rev_map, &nb->copyfrom_rev,
> + sizeof(nb->copyfrom_rev))))

Normally we would write this as an assignment statement followed by "if
(src_rev_from_map)", as recommended by the Gnu coding style (which we
admittedly only follow loosely).

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 12 03:20:30 2004

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.