Remove unused variable.
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index b961129..01d87dc 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7382,7 +7382,6 @@
     PyObject *exc = NULL;
     PyObject *encoding_obj = NULL;
     char *encoding;
-    int err;
     Py_ssize_t startpos, newpos, newoutsize;
     PyObject *rep;
     int ret = -1;