Problem: Clever compiler warns for buffer being too small.
Solution: Make the buffer bigger (even though it's not really needed).
for (i = 0; i < MAXPOSMATCH; ++i)
{
llpos_T *llpos;
- char buf[6];
+ char buf[30]; // use 30 to avoid compiler warning
list_T *l;
llpos = &cur->pos.pos[i];
while (li != NULL)
{
int i = 0;
- char_u buf[5];
+ char buf[30]; // use 30 to avoid compiler warning
dictitem_T *di;
char_u *group;
int priority;
char_u *end;
int id;
#ifdef USER_HIGHLIGHT
- char_u userhl[10];
+ char_u userhl[30]; // use 30 to avoid compiler warning
# ifdef FEAT_STL_OPT
int id_S = -1;
int id_SNC = 0;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1209,
/**/
1208,
/**/