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

static const int variable needs init value

From: Max Okumoto <okumoto_at_ucsd.edu>
Date: 2001-12-05 11:19:38 CET

 
* subversion/subversion/libsvn_ra_dav/commit.c
  static const int variable needs init value even if it is zero.

Index: subversion/subversion/libsvn_ra_dav/commit.c
===================================================================
--- subversion/subversion/libsvn_ra_dav/.svn/text-base/commit.c.svn-base Sun Dec 2 13:34:52 2001
+++ subversion/subversion/libsvn_ra_dav/commit.c Tue Dec 4 10:28:58 2001
@@ -121,7 +121,7 @@
 ** properties which must be deleted. Properties which are changed/added
 ** will use their new values.
 */
-static const int singleton_delete_prop;
+static const int singleton_delete_prop = 0;
 #define DELETE_THIS_PROP (&singleton_delete_prop)
 
 /* this property will be fetched from the server when we don't find it

---------------------------------------------------------------------
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.