From 593902eee642912245ed669e265c07dbd51ccb45 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 29 Mar 2010 15:03:14 +0300 Subject: Remove unused dependency set file reference count - this has never been used for anything at all, there are better things to use our memory for than unused arrays --- python/rpmds-py.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'python') diff --git a/python/rpmds-py.c b/python/rpmds-py.c index 069519daa..771cd06c2 100644 --- a/python/rpmds-py.c +++ b/python/rpmds-py.c @@ -65,12 +65,6 @@ rpmds_Color(rpmdsObject * s) return Py_BuildValue("i", rpmdsColor(s->ds)); } -static PyObject * -rpmds_Refs(rpmdsObject * s) -{ - return Py_BuildValue("i", rpmdsRefs(s->ds)); -} - static PyObject * rpmds_iternext(rpmdsObject * s) { @@ -205,8 +199,6 @@ static struct PyMethodDef rpmds_methods[] = { "ds.TagN -> TagN - Return current TagN.\n" }, {"Color", (PyCFunction)rpmds_Color, METH_NOARGS, "ds.Color -> Color - Return current Color.\n" }, - {"Refs", (PyCFunction)rpmds_Refs, METH_NOARGS, - "ds.Refs -> Refs - Return current Refs.\n" }, {"SetNoPromote",(PyCFunction)rpmds_SetNoPromote, METH_VARARGS|METH_KEYWORDS, NULL}, {"Notify", (PyCFunction)rpmds_Notify, METH_VARARGS|METH_KEYWORDS, -- cgit v1.2.3