all: Remove unnecessary locals_dict cast.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
Jim Mussared
2022-06-24 16:27:46 +10:00
committed by Damien George
parent b7d6ee9b75
commit 9dce82776d
185 changed files with 226 additions and 226 deletions

View File

@@ -112,7 +112,7 @@ STATIC MP_DEFINE_CONST_DICT(object_locals_dict, object_locals_dict_table);
#endif
#if MICROPY_CPYTHON_COMPAT
#define OBJECT_TYPE_LOCALS_DICT , locals_dict, (mp_obj_dict_t *)&object_locals_dict
#define OBJECT_TYPE_LOCALS_DICT , locals_dict, &object_locals_dict
#else
#define OBJECT_TYPE_LOCALS_DICT
#endif