[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 4700 - in trunk/subversion: include libsvn_client clients/cmdline svnversion

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-02-03 15:00:12 CET

Greg Stein wrote:

>>+ /* Clear out our context. */
>>+ memset (&ctx, 0, sizeof (ctx));
>>
>>
>
>Much easier to just do this in the declaration:
>
> svn_client_ctx_t ctx = { 0 };
>
>(and in svnversion/main.c)
>
>Cheers,
>-g
>

heh, cool. i'd seen that with array's, but i didn't know you could do
that with structs.

i'll make the change tonight sometime.

thanks,

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 3 15:01:12 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.