8000 py/objcomplex: Remove unnecessary assignment of variable. · sparkfun/circuitpython@103ae43 · GitHub
[go: up one dir, main page]

Skip to content

Commit 103ae43

Browse files
committed
py/objcomplex: Remove unnecessary assignment of variable.
1 parent ad6aae1 commit 103ae43

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

py/objcomplex.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,6 @@ mp_obj_t mp_obj_complex_binary_op(mp_uint_t op, mp_float_t lhs_real, mp_float_t
229229
if (abs1 == 0) {
230230
if (rhs_imag == 0 && rhs_real >= 0) {
231231
lhs_real = (rhs_real == 0);
232-
rhs_real = 0;
233232
} else {
234233
mp_raise_msg(&mp_type_ZeroDivisionError, "0.0 to a complex power");
235234
}

0 commit comments

Comments
 (0)
0