Remove an unused variable
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index b756afc..5c10713 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -3935,7 +3935,6 @@
 int
 PyUnicode_WriteChar(PyObject *unicode, Py_ssize_t index, Py_UCS4 ch)
 {
-    Py_UCS4 maxchar;
     if (!PyUnicode_Check(unicode) || !PyUnicode_IS_COMPACT(unicode)) {
         PyErr_BadArgument();
         return -1;