Indent code inside if block. (GH-15284)

Without indendation, seems like strcpy line is parallel to `if` condition.
(cherry picked from commit 69f37bcb28)

Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
This commit is contained in:
Miss Islington (bot) 2019-08-15 09:38:22 -07:00 committed by GitHub
parent f781283ff6
commit 64db5aac6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1821,7 +1821,7 @@ PyTokenizer_FindEncodingFilename(int fd, PyObject *filename)
if (tok->encoding) {
encoding = (char *)PyMem_MALLOC(strlen(tok->encoding) + 1);
if (encoding)
strcpy(encoding, tok->encoding);
strcpy(encoding, tok->encoding);
}
PyTokenizer_Free(tok);
return encoding;