diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2022-06-24 16:27:46 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-09-19 19:06:01 +1000 |
| commit | 9dce82776db104750283b213095a7aedfb95a1d9 (patch) | |
| tree | ede3b1e720059111af4d97916bbce57fcded8c1c /py/objdict.c | |
| parent | b7d6ee9b75650bd0ac36e89077d5d08a3eed9e3f (diff) | |
all: Remove unnecessary locals_dict cast.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/objdict.c')
| -rw-r--r-- | py/objdict.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/objdict.c b/py/objdict.c index 6e217d5c9..c65b14caa 100644 --- a/py/objdict.c +++ b/py/objdict.c @@ -599,7 +599,7 @@ MP_DEFINE_CONST_OBJ_TYPE( binary_op, dict_binary_op, subscr, dict_subscr, getiter, dict_getiter, - locals_dict, (mp_obj_dict_t *)&dict_locals_dict + locals_dict, &dict_locals_dict ); #if MICROPY_PY_COLLECTIONS_ORDEREDDICT @@ -614,7 +614,7 @@ MP_DEFINE_CONST_OBJ_TYPE( subscr, dict_subscr, getiter, dict_getiter, parent, &mp_type_dict, - locals_dict, (mp_obj_dict_t *)&dict_locals_dict + locals_dict, &dict_locals_dict ); #endif |
