mirror of
https://github.com/samba-team/samba.git
synced 2025-07-02 20:59:09 +03:00
r26572: Fix warnings in the Python code.
(This used to be commit 15038d9586
)
This commit is contained in:
committed by
Stefan Metzmacher
parent
3ee442c54f
commit
d0ba9f0014
@ -22,6 +22,7 @@
|
||||
#include "includes.h"
|
||||
#include "ldb.h"
|
||||
#include "param/param.h"
|
||||
#include "auth/credentials/credentials.h"
|
||||
#include "dsdb/samdb/samdb.h"
|
||||
#include "lib/ldb-samba/ldif_handlers.h"
|
||||
%}
|
||||
|
@ -2530,6 +2530,7 @@ static swig_module_info swig_module = {swig_types, 27, 0, 0, 0, 0};
|
||||
#include "includes.h"
|
||||
#include "ldb.h"
|
||||
#include "param/param.h"
|
||||
#include "auth/credentials/credentials.h"
|
||||
#include "dsdb/samdb/samdb.h"
|
||||
#include "lib/ldb-samba/ldif_handlers.h"
|
||||
|
||||
@ -3016,7 +3017,7 @@ SWIGINTERN PyObject *_wrap_dsdb_attach_schema_from_ldif_file(PyObject *SWIGUNUSE
|
||||
"ldb context must be non-NULL");
|
||||
result = dsdb_attach_schema_from_ldif_file(arg1,(char const *)arg2,(char const *)arg3);
|
||||
if (!W_ERROR_IS_OK(result)) {
|
||||
PyObject *obj = Py_BuildValue("(i,s)", (&result)->v, win_errstr(result));
|
||||
PyObject *obj = Py_BuildValue((char *)"(i,s)", (&result)->v, win_errstr(result));
|
||||
PyErr_SetObject(PyExc_RuntimeError, obj);
|
||||
SWIG_fail;
|
||||
} else if (resultobj == NULL) {
|
||||
|
Reference in New Issue
Block a user