summaryrefslogtreecommitdiff
path: root/ports/unix/coverage.c
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2022-06-24 16:27:46 +1000
committerDamien George <damien@micropython.org>2022-09-19 19:06:01 +1000
commit9dce82776db104750283b213095a7aedfb95a1d9 (patch)
treeede3b1e720059111af4d97916bbce57fcded8c1c /ports/unix/coverage.c
parentb7d6ee9b75650bd0ac36e89077d5d08a3eed9e3f (diff)
all: Remove unnecessary locals_dict cast.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'ports/unix/coverage.c')
-rw-r--r--ports/unix/coverage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/unix/coverage.c b/ports/unix/coverage.c
index b4567417a..7b4c0c0bf 100644
--- a/ports/unix/coverage.c
+++ b/ports/unix/coverage.c
@@ -112,7 +112,7 @@ STATIC MP_DEFINE_CONST_OBJ_TYPE(
MP_TYPE_FLAG_NONE,
MP_TYPE_NULL_MAKE_NEW,
protocol, &fileio_stream_p,
- locals_dict, (mp_obj_dict_t *)&rawfile_locals_dict
+ locals_dict, &rawfile_locals_dict
);
// stream read returns non-blocking error
@@ -142,7 +142,7 @@ STATIC MP_DEFINE_CONST_OBJ_TYPE(
MP_TYPE_FLAG_NONE,
MP_TYPE_NULL_MAKE_NEW,
protocol, &textio_stream_p2,
- locals_dict, (mp_obj_dict_t *)&rawfile_locals_dict2
+ locals_dict, &rawfile_locals_dict2
);
// str/bytes objects without a valid hash