forked from aniani/vim
patch 7.4.821
Problem: Coverity reports a few problems. Solution: Avoid the warnings. (Christian Brabandt)
This commit is contained in:
@@ -4520,6 +4520,9 @@ get_address(ptr, addr_type, skip, to_other_file)
|
||||
pos.col = MAXCOL;
|
||||
else
|
||||
pos.col = 0;
|
||||
#ifdef FEAT_VIRTUALEDIT
|
||||
pos.coladd = 0;
|
||||
#endif
|
||||
if (searchit(curwin, curbuf, &pos,
|
||||
*cmd == '?' ? BACKWARD : FORWARD,
|
||||
(char_u *)"", 1L, SEARCH_MSG,
|
||||
|
Reference in New Issue
Block a user