fix unused variable
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index dee2953..eb12655 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -14002,7 +14002,6 @@
     while (--ctx.fmtcnt >= 0) {
         if (PyUnicode_READ(ctx.fmtkind, ctx.fmtdata, ctx.fmtpos) != '%') {
             Py_ssize_t nonfmtpos;
-            Py_UCS4 maxchar;
 
             nonfmtpos = ctx.fmtpos++;
             while (ctx.fmtcnt >= 0 &&