mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3:param: Remove unnecessary use of discard_const_p()
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
10553111f0
commit
507ff19263
@ -25,7 +25,7 @@
|
||||
#include "param/s3_param.h"
|
||||
#include <pytalloc.h>
|
||||
|
||||
#define PyErr_FromString(str) Py_BuildValue("(s)", discard_const_p(char, str))
|
||||
#define PyErr_FromString(str) Py_BuildValue("(s)", (str))
|
||||
#define PyLoadparmContext_AsLoadparmContext(obj) pytalloc_get_type(obj, struct loadparm_context)
|
||||
|
||||
_PUBLIC_ struct loadparm_context *lpcfg_from_py_object(TALLOC_CTX *mem_ctx, PyObject *py_obj)
|
||||
|
Loading…
Reference in New Issue
Block a user