Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
7318949c
Commit
7318949c
authored
Dec 20, 2016
by
Damien George
Browse files
py/modbuiltins: Remove unreachable code.
parent
0d32f1ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/modbuiltins.c
View file @
7318949c
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment