mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.2256
Problem: Coverity complains about null pointer check. Solution: Remove wrong and superfluous error check.
This commit is contained in:
@@ -4941,12 +4941,9 @@ get_string_tv(char_u **arg, typval_T *rettv, int evaluate)
|
||||
|
||||
}
|
||||
*name = NUL;
|
||||
if (p == NUL)
|
||||
{
|
||||
EMSG2(_("E114: Missing quote: %s"), *arg);
|
||||
return FAIL;
|
||||
}
|
||||
*arg = p + 1;
|
||||
if (*p != NUL) /* just in case */
|
||||
++p;
|
||||
*arg = p;
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
@@ -763,6 +763,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2256,
|
||||
/**/
|
||||
2255,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user