diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-23 20:22:46 -0600 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-24 01:51:03 -0600 |
commit | 3ee442c54f658e0dc9541a492e46fd8f6bf3a7f4 (patch) | |
tree | e1c76db8cbab5723b4e82dbc57b2f83b7886ab56 /source4/lib | |
parent | aa0a06f13c44e0eca0b3f2f0c34f0f7995b87159 (diff) | |
download | samba-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/lib')
-rw-r--r-- | source4/lib/registry/registry_wrap.c | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/source4/lib/registry/registry_wrap.c b/source4/lib/registry/registry_wrap.c index cabdfad887..00c7fc32b2 100644 --- a/source4/lib/registry/registry_wrap.c +++ b/source4/lib/registry/registry_wrap.c @@ -2929,9 +2929,7 @@ SWIGINTERN PyObject *_wrap_Registry(PyObject *SWIGUNUSEDPARM(self), PyObject *ar }; arg3 = NULL; - { - arg4 = NULL; - } + arg4 = NULL; arg1 = NULL; arg2 = &tmp2; if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:Registry",kwnames,&obj0,&obj1)) SWIG_fail; @@ -3492,12 +3490,8 @@ SWIGINTERN PyObject *_wrap_hive_key(PyObject *SWIGUNUSEDPARM(self), PyObject *ar }; arg3 = NULL; - { - arg4 = NULL; - } - { - arg5 = loadparm_init(NULL); - } + arg4 = NULL; + arg5 = loadparm_init(NULL); arg1 = NULL; arg6 = &tmp6; if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:hive_key",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; @@ -3573,12 +3567,8 @@ SWIGINTERN PyObject *_wrap_open_ldb(PyObject *SWIGUNUSEDPARM(self), PyObject *ar }; arg3 = NULL; - { - arg4 = NULL; - } - { - arg5 = loadparm_init(NULL); - } + arg4 = NULL; + arg5 = loadparm_init(NULL); arg1 = NULL; arg6 = &tmp6; if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:open_ldb",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; @@ -3730,13 +3720,9 @@ SWIGINTERN PyObject *_wrap_open_samba(PyObject *SWIGUNUSEDPARM(self), PyObject * (char *) "lp_ctx",(char *) "session_info",(char *) "credentials", NULL }; - { - arg3 = loadparm_init(NULL); - } + arg3 = loadparm_init(NULL); arg4 = NULL; - { - arg5 = NULL; - } + arg5 = NULL; arg1 = NULL; arg2 = &tmp2; if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:open_samba",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |