Problem: Compiler warning in strings.c
(Timothy Rice, after v9.2.0031)
Solution: Return early when str_m is zero
(Hirohito Higashi)
fixes: #19795
closes: #19800
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
va_list ap;
int str_l;
+ if (str_m == 0)
+ return 0;
+
va_start(ap, fmt);
str_l = vim_vsnprintf_typval(str, str_m, fmt, ap, NULL);
va_end(ap);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 233,
/**/
232,
/**/