summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipapython/py_default_encoding/default_encoding_utf8.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ipapython/py_default_encoding/default_encoding_utf8.c b/ipapython/py_default_encoding/default_encoding_utf8.c
index 79101d993..07adf28ec 100644
--- a/ipapython/py_default_encoding/default_encoding_utf8.c
+++ b/ipapython/py_default_encoding/default_encoding_utf8.c
@@ -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");
}