mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 7.4.2290
Problem: Compiler warning in tiny build. (Tony Mechelynck) Solution: Add #ifdef around infinity_str().
This commit is contained in:
@@ -3990,6 +3990,7 @@ tv_float(typval_T *tvs, int *idxp)
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef FEAT_FLOAT
|
||||||
/*
|
/*
|
||||||
* Return the representation of infinity for printf() function:
|
* Return the representation of infinity for printf() function:
|
||||||
* "-inf", "inf", "+inf", " inf", "-INF", "INF", "+INF" or " INF".
|
* "-inf", "inf", "+inf", " inf", "-INF", "INF", "+INF" or " INF".
|
||||||
@@ -4011,6 +4012,7 @@ infinity_str(int positive,
|
|||||||
idx += 4;
|
idx += 4;
|
||||||
return table[idx];
|
return table[idx];
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This code was included to provide a portable vsnprintf() and snprintf().
|
* This code was included to provide a portable vsnprintf() and snprintf().
|
||||||
|
@@ -763,6 +763,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2290,
|
||||||
/**/
|
/**/
|
||||||
2289,
|
2289,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user