From: Bram Moolenaar Date: Sun, 28 Aug 2016 19:21:31 +0000 (+0200) Subject: patch 7.4.2290 X-Git-Tag: v7.4.2290 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f7bd297d6d989254f71c694f1c72d07cbc5c306;p=vim patch 7.4.2290 Problem: Compiler warning in tiny build. (Tony Mechelynck) Solution: Add #ifdef around infinity_str(). --- diff --git a/src/message.c b/src/message.c index 12cb2c41a..92e735349 100644 --- a/src/message.c +++ b/src/message.c @@ -3990,6 +3990,7 @@ tv_float(typval_T *tvs, int *idxp) # endif #endif +#ifdef FEAT_FLOAT /* * Return the representation of infinity for printf() function: * "-inf", "inf", "+inf", " inf", "-INF", "INF", "+INF" or " INF". @@ -4011,6 +4012,7 @@ infinity_str(int positive, idx += 4; return table[idx]; } +#endif /* * This code was included to provide a portable vsnprintf() and snprintf(). diff --git a/src/version.c b/src/version.c index b67c3f60c..3cae92dde 100644 --- a/src/version.c +++ b/src/version.c @@ -763,6 +763,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2290, /**/ 2289, /**/