mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 01:38:16 +00:00
clang/"Dead assignment"
This commit is contained in:
@@ -3770,6 +3770,7 @@ find_decl (
|
||||
clearpos(&found_pos);
|
||||
for (;; ) {
|
||||
valid = false;
|
||||
(void)valid; // Avoid "dead assignment" warning.
|
||||
t = searchit(curwin, curbuf, &curwin->w_cursor, FORWARD,
|
||||
pat, 1L, searchflags, RE_LAST, (linenr_T)0, NULL);
|
||||
if (curwin->w_cursor.lnum >= old_pos.lnum)
|
||||
|
Reference in New Issue
Block a user