summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-01-05 20:02:02 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-01-05 20:08:04 +1100
commit83b2f1483f786711e855bdeeccb2b7bfa6d413e3 (patch)
treec941e264284e02ac577e171b41a6666c3a5836f5 /source4/lib
parentc0b98297b4064812d9a6572d56d98ddab9181446 (diff)
downloadsamba-83b2f1483f786711e855bdeeccb2b7bfa6d413e3.tar.gz
samba-83b2f1483f786711e855bdeeccb2b7bfa6d413e3.tar.bz2
samba-83b2f1483f786711e855bdeeccb2b7bfa6d413e3.zip
Initialise 'flags' in new python ldb binding for ldb_connect
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/pyldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c
index 10b9691ae0..0dda9aa05b 100644
--- a/source4/lib/ldb/pyldb.c
+++ b/source4/lib/ldb/pyldb.c
@@ -538,7 +538,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;
- int flags;
+ int flags = 0;
PyObject *py_options = Py_None;
int ret;
const char **options;