mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
vim-patch:7.4.2256
Problem: Coverity complains about null pointer check.
Solution: Remove wrong and superfluous error check.
db249f26ed
This commit is contained in:
@@ -4860,7 +4860,10 @@ static int get_string_tv(char_u **arg, typval_T *rettv, int evaluate)
|
|||||||
|
|
||||||
}
|
}
|
||||||
*name = NUL;
|
*name = NUL;
|
||||||
*arg = p + 1;
|
if (*p != NUL) { // just in case
|
||||||
|
p++;
|
||||||
|
}
|
||||||
|
*arg = p;
|
||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
@@ -185,7 +185,7 @@ static int included_patches[] = {
|
|||||||
// 2259,
|
// 2259,
|
||||||
// 2258 NA
|
// 2258 NA
|
||||||
// 2257 NA
|
// 2257 NA
|
||||||
// 2256,
|
2256,
|
||||||
2255,
|
2255,
|
||||||
// 2254 NA
|
// 2254 NA
|
||||||
// 2253 NA
|
// 2253 NA
|
||||||
|
Reference in New Issue
Block a user