diff src/match.c @ 29081:b66386af68f8 v8.2.5062

patch 8.2.5062: Coverity warns for dead code Commit: https://github.com/vim/vim/commit/1f89abf69d2c485c38da9a45161e806de0f86f2f Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 6 10:07:01 2022 +0100 patch 8.2.5062: Coverity warns for dead code Problem: Coverity warns for dead code. Solution: Remove the dead code.
author Bram Moolenaar <Bram@vim.org>
date Mon, 06 Jun 2022 11:15:05 +0200
parents b90bca860b5a
children 827d9f2b7a71
line wrap: on
line diff
--- a/src/match.c
+++ b/src/match.c
@@ -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.