mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0155: warnings from MinGW compiler; tests fail without +float
Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when building without +float feature. Solution: Init variables. Fix Json parsing. Skip a few tests that require the +float feature.
This commit is contained in:
@@ -6357,8 +6357,8 @@ ConvertToPyObject(typval_T *tv)
|
||||
? "" : (char *)tv->vval.v_string);
|
||||
case VAR_NUMBER:
|
||||
return PyLong_FromLong((long) tv->vval.v_number);
|
||||
#ifdef FEAT_FLOAT
|
||||
case VAR_FLOAT:
|
||||
#ifdef FEAT_FLOAT
|
||||
return PyFloat_FromDouble((double) tv->vval.v_float);
|
||||
#endif
|
||||
case VAR_LIST:
|
||||
|
Reference in New Issue
Block a user