mirror of
https://github.com/vim/vim.git
synced 2025-10-29 09:37:35 -04:00
patch 8.2.5062: Coverity warns for dead code
Problem: Coverity warns for dead code. Solution: Remove the dead code.
This commit is contained in:
@@ -446,14 +446,6 @@ next_search_hl(
|
||||
// or none is found in this line.
|
||||
for (;;)
|
||||
{
|
||||
# ifdef FEAT_RELTIME
|
||||
// Stop searching after passing the time limit.
|
||||
if (timed_out)
|
||||
{
|
||||
shl->lnum = 0; // no match found in time
|
||||
break;
|
||||
}
|
||||
# endif
|
||||
// Three situations:
|
||||
// 1. No useful previous match: search from start of line.
|
||||
// 2. Not Vi compatible or empty match: continue at next character.
|
||||
|
||||
Reference in New Issue
Block a user