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

Is this bit of code obsolete?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-04-26 00:13:06 CEST

I am getting a compiler warning about this code in libsvn_ra_dav/commit.c

/*
** singleton_delete_prop:
**
** The address of this integer is used as a "singleton" value to mark
** properties which must be deleted. Properties which are changed/added
** will use their new values.
*/
static const int singleton_delete_prop = 0;
#define DELETE_THIS_PROP (&singleton_delete_prop)

Since neither singleton_delete_prop nor DELETE_THIS_PROP are used in
the file I propose to delete it. Am I missing something subtle?

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 26 00:14:14 2002

This is an archived mail posted to the Subversion Dev mailing list.