summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 85689fc1a..5311141df 100644
--- a/src/search.c
+++ b/src/search.c
@@ -5125,7 +5125,7 @@ read_viminfo_search_pattern(virp, force)
int magic = FALSE;
int no_scs = FALSE;
int off_line = FALSE;
- int off_end = FALSE;
+ int off_end = 0;
long off = 0;
int setlast = FALSE;
#ifdef FEAT_SEARCH_EXTRA