diff src/search.c @ 13762:9de2b25932eb v8.0.1753

patch 8.0.1753: various warnings from a static analyser commit https://github.com/vim/vim/commit/1c17ffa4611f4efe68c61f7cdd9ed692a866ba75 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 24 15:19:04 2018 +0200 patch 8.0.1753: various warnings from a static analyser Problem: Various warnings from a static analyser Solution: Add type casts, remove unneeded conditions. (Christian Brabandt, closes #2770)
author Christian Brabandt <cb@256bit.org>
date Tue, 24 Apr 2018 15:30:08 +0200
parents 69517d67421f
children 0e9b2971d7c3
line wrap: on
line diff
--- a/src/search.c
+++ b/src/search.c
@@ -4071,7 +4071,7 @@ again:
 	goto again;
     }
 
-    if (do_include || r < 1)
+    if (do_include)
     {
 	/* Include up to the '>'. */
 	while (*ml_get_cursor() != '>')