Commits

Anonymous committed cf2c583

Issue #10055: Make json C89-compliant in UCS4 mode.

Comments (0)

Files changed (2)

 Build
 -----
 
+- Issue #10055: Make json C89-compliant in UCS4 mode.
+
 - Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)
 
 - Issue #1633863: Don't ignore $CC under AIX.
                 end += 6;
                 /* Decode 4 hex digits */
                 for (; next < end; next++) {
+                    Py_UNICODE digit = buf[next];
                     c2 <<= 4;
-                    Py_UNICODE digit = buf[next];
                     switch (digit) {
                         case '0': case '1': case '2': case '3': case '4':
                         case '5': case '6': case '7': case '8': case '9':