From 69f37bcb28d7cd78255828029f895958b5baf6ff Mon Sep 17 00:00:00 2001 From: Hansraj Das Date: Thu, 15 Aug 2019 21:49:07 +0530 Subject: [PATCH] Indent code inside if block. (GH-15284) Without indendation, seems like strcpy line is parallel to `if` condition. --- Parser/tokenizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 31fe970c90..5763e47c4b 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -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; -- 2.40.0