mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +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;
|
||||
*arg = p + 1;
|
||||
if (*p != NUL) { // just in case
|
||||
p++;
|
||||
}
|
||||
*arg = p;
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
@@ -185,7 +185,7 @@ static int included_patches[] = {
|
||||
// 2259,
|
||||
// 2258 NA
|
||||
// 2257 NA
|
||||
// 2256,
|
||||
2256,
|
||||
2255,
|
||||
// 2254 NA
|
||||
// 2253 NA
|
||||
|
Reference in New Issue
Block a user