[Zope-Checkins] CVS: Zope3/lib/python/Zope/ContextWrapper - proxy.c:1.1.2.2

Barry Warsaw barry@wooz.org
Thu, 25 Apr 2002 16:25:50 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/ContextWrapper
In directory cvs.zope.org:/tmp/cvs-serv6916

Modified Files:
      Tag: SecurityProxy-branch
	proxy.c 
Log Message:
wrap_setattr(): Removed since, as warned by gcc, it wasn't used
anywhere.


=== Zope3/lib/python/Zope/ContextWrapper/proxy.c 1.1.2.1 => 1.1.2.2 ===
 
 static int
-wrap_setattr(PyObject *wrapper, PyObject *name, PyObject *value)
-{
-    return PyObject_SetAttr(Proxy_GET_OBJECT(wrapper), name, value);
-}
-
-static int
 wrap_compare(PyObject *wrapper, PyObject *v)
 {
     return PyObject_Compare(Proxy_GET_OBJECT(wrapper), v);