From: Andrew Bartlett Date: Mon, 5 Jan 2009 09:02:02 +0000 (+1100) Subject: Initialise 'flags' in new python ldb binding for ldb_connect X-Git-Tag: samba-4.0.0alpha6~281^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83b2f1483f786711e855bdeeccb2b7bfa6d413e3;p=thirdparty%2Fsamba.git Initialise 'flags' in new python ldb binding for ldb_connect --- diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c index 10b9691ae07..0dda9aa05bb 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;