bpo-39271: Remove dead assignment from pattern_subx (GH-17915)
This commit is contained in:
parent
5cae042f68
commit
1a183faccb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue