diff options
Diffstat (limited to 'pico/search.c')
-rw-r--r-- | pico/search.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pico/search.c b/pico/search.c index 276be60c..7d36beea 100644 --- a/pico/search.c +++ b/pico/search.c @@ -1,10 +1,6 @@ -#if !defined(lint) && !defined(DOS) -static char rcsid[] = "$Id: search.c 1266 2009-07-14 18:39:12Z hubert@u.washington.edu $"; -#endif - /* * ======================================================================== - * Copyright 2013-2021 Eduardo Chappa + * Copyright 2013-2022 Eduardo Chappa * Copyright 2006-2008 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -1206,7 +1202,7 @@ forscan(int *wrapt, /* boolean indicating search wrapped */ UCS *patptr; /* pointer into pattern */ int stopoff; /* offset to stop search */ LINE *stopline; /* line to stop search */ - int ftest; /* position of first character of test */ + int ftest = 0; /* position of first character of test */ int bsearch; int bol; int eol; |