diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-17 21:08:33 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-17 21:08:33 +0100 |
commit | 73e28dcc6125f616cf1f2d56443d22428a79e434 (patch) | |
tree | bc26b3d1bb2e1675b7dae14b6c9cda1cd42c90d6 /src/viminfo.c | |
parent | 1c3dd8ddcba63c1af5112e567215b3cec2de11d0 (diff) | |
download | vim-git-73e28dcc6125f616cf1f2d56443d22428a79e434.tar.gz |
patch 9.0.0491: no good reason to build without the float featurev9.0.0491
Problem: No good reason to build without the float feature.
Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
Diffstat (limited to 'src/viminfo.c')
-rw-r--r-- | src/viminfo.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/viminfo.c b/src/viminfo.c index 546103e97..58494d4d0 100644 --- a/src/viminfo.c +++ b/src/viminfo.c @@ -1225,9 +1225,7 @@ read_viminfo_varlist(vir_T *virp, int writing) switch (*tab) { case 'S': type = VAR_STRING; break; -#ifdef FEAT_FLOAT case 'F': type = VAR_FLOAT; break; -#endif case 'D': type = VAR_DICT; break; case 'L': type = VAR_LIST; break; case 'B': type = VAR_BLOB; break; @@ -1242,10 +1240,8 @@ read_viminfo_varlist(vir_T *virp, int writing) || type == VAR_LIST || type == VAR_BLOB) tv.vval.v_string = viminfo_readstring(virp, (int)(tab - virp->vir_line + 1), TRUE); -#ifdef FEAT_FLOAT else if (type == VAR_FLOAT) (void)string2float(tab + 1, &tv.vval.v_float, FALSE); -#endif else { tv.vval.v_number = atol((char *)tab + 1); |