s4:pydsdb: remove unused variable from py_dsdb_am_pdc()
authorStefan Metzmacher <metze@samba.org>
Tue, 13 Dec 2011 07:24:25 +0000 (08:24 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 13 Dec 2011 11:36:34 +0000 (12:36 +0100)
metze

source4/dsdb/pydsdb.c

index 738ea6d64158a4bf2cad8138d1410ae76008918c..f9896c005295a9ee28fa55aab8764ddaf5ddda51 100644 (file)
@@ -952,7 +952,6 @@ static PyObject *py_dsdb_am_pdc(PyObject *self, PyObject *args)
 {
        PyObject *py_ldb;
        struct ldb_context *ldb;
-       int ret;
        bool am_pdc;
 
        if (!PyArg_ParseTuple(args, "O", &py_ldb))