restore a redundant NULL-comparison, it silences compiler diagnostics
This commit is contained in:
parent
e1d7e46e88
commit
fa29be5aea
@ -153,7 +153,7 @@ STATIC bool test_qstr(mp_obj_t obj, qstr name) {
|
|||||||
} else {
|
} else {
|
||||||
// try builtin module
|
// try builtin module
|
||||||
return mp_map_lookup((mp_map_t *)&mp_builtin_module_map,
|
return mp_map_lookup((mp_map_t *)&mp_builtin_module_map,
|
||||||
MP_OBJ_NEW_QSTR(name), MP_MAP_LOOKUP);
|
MP_OBJ_NEW_QSTR(name), MP_MAP_LOOKUP) != NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user