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

Re: static const int variable needs init value

From: Garance A Drosihn <drosih_at_rpi.edu>
Date: 2001-12-05 18:20:42 CET

At 2:19 AM -0800 12/5/01, Max Okumoto wrote:
>
>* subversion/subversion/libsvn_ra_dav/commit.c
> static const int variable needs init value even if it is zero.
>

I am pretty sure that the C standard requires that any such
variables will automatically default to zero, if no other
value is specified. Are you running into a problem where
that variable is not coming up as zero on some platform?

-- 
Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:51 2006

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.