bpo-28685: Fix compiler warning (GH-5423)

This commit is contained in:
Victor Stinner 2018-01-29 13:47:06 +01:00 committed by GitHub
parent 51500f3745
commit 8017b804a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2028,7 +2028,8 @@ unsafe_object_compare(PyObject *v, PyObject *w, MergeState *ms)
static int
unsafe_latin_compare(PyObject *v, PyObject *w, MergeState *ms)
{
int len, res;
Py_ssize_t len;
int res;
/* Modified from Objects/unicodeobject.c:unicode_compare, assuming: */
assert(v->ob_type == w->ob_type);