bpo-39271: Remove dead assignment from pattern_subx (GH-17915)

This commit is contained in:
Alex Henrie 2020-01-09 06:27:52 +00:00 committed by Serhiy Storchaka
parent 5cae042f68
commit 1a183faccb
1 changed files with 0 additions and 1 deletions

View File

@ -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;