diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-08-11 18:53:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-08-11 18:53:03 +0200 |
commit | bd8539aac385d265d41da2e8ab59d7b9c3694557 (patch) | |
tree | 6edd23be4bfd095e3e15d46eeb61c395bbd4ace6 /src/ex_docmd.c | |
parent | 8fee878fe277ec1b1b833ba6e5db679151f7982f (diff) |
patch 7.4.821v7.4.821
Problem: Coverity reports a few problems.
Solution: Avoid the warnings. (Christian Brabandt)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 13ed6b0a1d..7633d54200 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -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, |