Problem: Useless check for NULL when calling vim_free().
Solution: Remove the check. (Dominique Pelle)
else
ret = OK;
}
-
- if (alias != NULL)
- vim_free(alias);
+ vim_free(alias);
}
*arg = skipwhite(*arg);
EMSG2(_("E704: Funcref variable name must start with a capital: %s"), name);
return;
}
- /* Don't allow hiding a function. When "v" is not NULL we migth be
+ /* Don't allow hiding a function. When "v" is not NULL we might be
* assigning another function to the same var, the type is checked
* below. */
if (v == NULL && function_exists(name))
vir_T *virp;
int force;
{
- if (old_sub != NULL && force)
+ if (force)
vim_free(old_sub);
if (force || old_sub == NULL)
old_sub = viminfo_readstring(virp, 1, TRUE);
cb->BufferSize.X = cb->Info.dwSize.X;
cb->BufferSize.Y = cb->Info.dwSize.Y;
NumCells = cb->BufferSize.X * cb->BufferSize.Y;
- if (cb->Buffer != NULL)
- vim_free(cb->Buffer);
+ vim_free(cb->Buffer);
cb->Buffer = (PCHAR_INFO)alloc(NumCells * sizeof(CHAR_INFO));
if (cb->Buffer == NULL)
return FALSE;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 108,
/**/
107,
/**/