Issue #3156040 by Hardik_Patel_12, kiamlaluno, siddhant.bhosale, paulocs: Avoid initializing a local variable to an empty array before adding items to that array
mentioned in commit 4d4753ff
mentioned in commit 103a1dc5