Commit 7318949c authored by Damien George's avatar Damien George
Browse files

py/modbuiltins: Remove unreachable code.

parent 0d32f1ae
......@@ -475,9 +475,6 @@ STATIC mp_obj_t mp_builtin_round(size_t n_args, const mp_obj_t *args) {
} else if (val - rounded == -0.5) {
r &= ~1;
}
if (n_args > 1) {
return mp_obj_new_float(r);
}
#else
mp_int_t r = mp_obj_get_int(o_in);
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment