diff --git a/py/objfloat.c b/py/objfloat.c index babc0c479b0adf833c364a363d1e1c61cce4586c..5e4d05f1729c2fee933d4027606bbb0ac3909301 100644 --- a/py/objfloat.c +++ b/py/objfloat.c @@ -119,7 +119,8 @@ mp_obj_t mp_obj_float_binary_op(int op, mp_float_t lhs_val, mp_obj_t rhs_in) { case MP_BINARY_OP_LESS_EQUAL: return MP_BOOL(lhs_val <= rhs_val); case MP_BINARY_OP_MORE_EQUAL: return MP_BOOL(lhs_val >= rhs_val); - return NULL; // op not supported + default: + return NULL; // op not supported } return mp_obj_new_float(lhs_val); }