mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 8.1.1032: warnings from clang static analyzer
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan) Solution: Fix relevant warnings.
This commit is contained in:
@@ -214,7 +214,7 @@ static const struct nv_cmd
|
||||
{NL, nv_down, 0, FALSE},
|
||||
{Ctrl_K, nv_error, 0, 0},
|
||||
{Ctrl_L, nv_clear, 0, 0},
|
||||
{Ctrl_M, nv_down, 0, TRUE},
|
||||
{CAR, nv_down, 0, TRUE},
|
||||
{Ctrl_N, nv_down, NV_STS, FALSE},
|
||||
{Ctrl_O, nv_ctrlo, 0, 0},
|
||||
{Ctrl_P, nv_up, NV_STS, FALSE},
|
||||
@@ -4263,7 +4263,6 @@ find_decl(
|
||||
CLEAR_POS(&found_pos);
|
||||
for (;;)
|
||||
{
|
||||
valid = FALSE;
|
||||
t = searchit(curwin, curbuf, &curwin->w_cursor, NULL, FORWARD,
|
||||
pat, 1L, searchflags, RE_LAST, (linenr_T)0, NULL, NULL);
|
||||
if (curwin->w_cursor.lnum >= old_pos.lnum)
|
||||
|
Reference in New Issue
Block a user