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

Re: svn commit: rev 7365 - in trunk/subversion: include libsvn_subr libsvn_wc

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-10-09 17:57:32 CEST

kfogel@collab.net writes:

> julianfoad@tigris.org writes:
> > Log:
> > Remove "const" where it was over-zealously used on some function parameters
> > that are passed by value. It has no meaning in the interface, and only
> > exposes an artifact of the current implementation.
>
> Doesn't 'const' prevent the callee from changing the value of the
> argument locally?

Who cares? If you change the value of a variable passed by value, it
doesn't affect the caller at all.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 9 17:58:53 2003

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.