mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
Unused value in initdefault_encoding_utf8
There is no use for return value of Py_InitModule3. Removing it in this patch. https://fedorahosted.org/freeipa/ticket/710
This commit is contained in:
parent
0c2beda3f7
commit
82b4d5d6e8
@ -52,8 +52,6 @@ static PyMethodDef methods[] = {
|
||||
PyMODINIT_FUNC
|
||||
initdefault_encoding_utf8(void)
|
||||
{
|
||||
PyObject* m;
|
||||
|
||||
PyUnicode_SetDefaultEncoding("utf-8");
|
||||
m = Py_InitModule3("default_encoding_utf8", methods, "Forces the default encoding to utf-8");
|
||||
Py_InitModule3("default_encoding_utf8", methods, "Forces the default encoding to utf-8");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user