diff options
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index 1a1190e4b6..4890de3461 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -2384,9 +2384,7 @@ compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx) r = generate_PUSHBOOL(cctx, VVAL_FALSE); break; case VAR_FLOAT: -#ifdef FEAT_FLOAT r = generate_PUSHF(cctx, 0.0); -#endif break; case VAR_STRING: r = generate_PUSHS(cctx, NULL); @@ -2455,11 +2453,9 @@ compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx) expected = lhs.lhs_member_type; stacktype = get_type_on_stack(cctx, 0); if ( -#ifdef FEAT_FLOAT // If variable is float operation with number is OK. !(expected == &t_float && (stacktype == &t_number || stacktype == &t_number_bool)) && -#endif need_type(stacktype, expected, -1, 0, cctx, FALSE, FALSE) == FAIL) goto theend; |