mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user