From: Alex Henrie Date: Thu, 9 Jan 2020 06:27:52 +0000 (+0000) Subject: bpo-39271: Remove dead assignment from pattern_subx (GH-17915) X-Git-Tag: v3.9.0a3~115 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a183faccbe5c32c367dbced721a25c1444dc5c1;p=thirdparty%2FPython%2Fcpython.git bpo-39271: Remove dead assignment from pattern_subx (GH-17915) --- diff --git a/Modules/_sre.c b/Modules/_sre.c index f4f9d01dfccf..6518e98f04e4 100644 --- a/Modules/_sre.c +++ b/Modules/_sre.c @@ -1002,7 +1002,6 @@ pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, int literal; view.buf = NULL; ptr = getstring(ptemplate, &n, &isbytes, &charsize, &view); - b = charsize; if (ptr) { if (charsize == 1) literal = memchr(ptr, '\\', n) == NULL;