From 7782e334b9ce6c0517136ae25be4e4f0629e0059 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 6 Jul 2012 19:58:51 +1000 Subject: s4-dsdb: Remove unused variables in py_dsdb_get_partitions_dn --- source4/dsdb/pydsdb.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/dsdb') diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c index 4db9d361d1..f63d71e2d0 100644 --- a/source4/dsdb/pydsdb.c +++ b/source4/dsdb/pydsdb.c @@ -922,9 +922,6 @@ static PyObject *py_dsdb_get_partitions_dn(PyObject *self, PyObject *args) struct ldb_context *ldb; struct ldb_dn *dn; PyObject *py_ldb, *ret; - PyObject *mod; - - mod = PyImport_ImportModule("ldb"); if (!PyArg_ParseTuple(args, "O", &py_ldb)) return NULL; -- cgit