all: Remove unnecessary locals_dict cast.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
committed by
Damien George
parent
b7d6ee9b75
commit
9dce82776d
@@ -131,7 +131,7 @@ MP_DEFINE_CONST_OBJ_TYPE(
|
||||
MP_TYPE_FLAG_NONE,
|
||||
MP_TYPE_NULL_MAKE_NEW,
|
||||
call, mp_irq_call,
|
||||
locals_dict, (mp_obj_dict_t *)&mp_irq_locals_dict
|
||||
locals_dict, &mp_irq_locals_dict
|
||||
);
|
||||
|
||||
#endif // MICROPY_ENABLE_SCHEDULER
|
||||
|
||||
@@ -132,7 +132,7 @@ MP_DEFINE_CONST_OBJ_TYPE(
|
||||
getiter, mp_identity_getiter,
|
||||
iternext, mp_stream_unbuffered_iter,
|
||||
protocol, &stdio_obj_stream_p,
|
||||
locals_dict, (mp_obj_dict_t *)&stdio_locals_dict
|
||||
locals_dict, &stdio_locals_dict
|
||||
);
|
||||
|
||||
const sys_stdio_obj_t mp_sys_stdin_obj = {{&stdio_obj_type}, .fd = STDIO_FD_IN};
|
||||
@@ -168,7 +168,7 @@ STATIC MP_DEFINE_CONST_OBJ_TYPE(
|
||||
getiter, mp_identity_getiter,
|
||||
iternext, mp_stream_unbuffered_iter,
|
||||
protocol, &stdio_buffer_obj_stream_p,
|
||||
locals_dict, (mp_obj_dict_t *)&stdio_locals_dict
|
||||
locals_dict, &stdio_locals_dict
|
||||
);
|
||||
|
||||
STATIC const sys_stdio_obj_t stdio_buffer_obj = {{&stdio_buffer_obj_type}, .fd = 0}; // fd unused
|
||||
|
||||
Reference in New Issue
Block a user