mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
ldb/pyldb: initialize optional parameter in ldb_connect()
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
parent
6eb3391cc2
commit
0d56edb9bb
@ -1154,7 +1154,7 @@ static PyObject *py_ldb_new(PyTypeObject *type, PyObject *args, PyObject *kwargs
|
||||
|
||||
static PyObject *py_ldb_connect(PyLdbObject *self, PyObject *args, PyObject *kwargs)
|
||||
{
|
||||
char *url;
|
||||
char *url = NULL;
|
||||
unsigned int flags = 0;
|
||||
PyObject *py_options = Py_None;
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user