[ZODB-Dev] [Zope-Coders] Zope test results

Fred L. Drake, Jr. fdrake@acm.org
Thu, 2 May 2002 10:06:04 -0400


Barry A. Warsaw writes:
 > I now get this
 > 
 > ZODB/cPickleCache.c:977: warning: `_ring_corrupt' defined but not used
 > 
 > when doing a fresh build.  I wasn't getting that before.  That might
 > not be meaningful though, if MUCH_RING_CHECKING is turned off by
 > default now.

Since it's only used if MUCH_RING_CHECKING is defined, _ring_corrupt()
should only be included if MUCH_RING_CHECKING is defined.  I've added
an #ifdef around it in the StandaloneZODB trunk.  Not sure where else
it should go.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation