summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-23 20:22:46 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-24 01:51:03 -0600
commit3ee442c54f658e0dc9541a492e46fd8f6bf3a7f4 (patch)
treee1c76db8cbab5723b4e82dbc57b2f83b7886ab56 /source4/scripting
parentaa0a06f13c44e0eca0b3f2f0c34f0f7995b87159 (diff)
downloadsamba-3ee442c54f658e0dc9541a492e46fd8f6bf3a7f4.tar.gz
samba-3ee442c54f658e0dc9541a492e46fd8f6bf3a7f4.tar.bz2
samba-3ee442c54f658e0dc9541a492e46fd8f6bf3a7f4.zip
r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files.
(This used to be commit cb76c60007ae1254181c09ba1ab09c419f500bc5)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/misc_wrap.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/source4/scripting/python/misc_wrap.c b/source4/scripting/python/misc_wrap.c
index 0f36647487..03128c2e9e 100644
--- a/source4/scripting/python/misc_wrap.c
+++ b/source4/scripting/python/misc_wrap.c
@@ -2837,9 +2837,7 @@ SWIGINTERN PyObject *_wrap_ldb_set_credentials(PyObject *SWIGUNUSEDPARM(self), P
(char *) "ldb",(char *) "creds", NULL
};
- {
- arg2 = NULL;
- }
+ arg2 = NULL;
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ldb_set_credentials",kwnames,&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ldb_context, 0 | 0 );
if (!SWIG_IsOK(res1)) {
@@ -2914,9 +2912,7 @@ SWIGINTERN PyObject *_wrap_ldb_set_loadparm(PyObject *SWIGUNUSEDPARM(self), PyOb
(char *) "ldb",(char *) "lp_ctx", NULL
};
- {
- arg2 = loadparm_init(NULL);
- }
+ arg2 = loadparm_init(NULL);
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ldb_set_loadparm",kwnames,&obj0,&obj1)) SWIG_fail;
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_ldb_context, 0 | 0 );
if (!SWIG_IsOK(res1)) {