mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -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:
parent
ec42059b78
commit
db249f26ed
@ -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,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user