diff --git a/ChangeLog b/ChangeLog index 9695f63b8b6f823e5b3dcb49e5e663fc2c959c4a..d80bcf278e112c404b717fce26878bf2ee83f1f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,8 @@ CVS code - longs for consistency. (David Benbennick) - Rename the TEMP_OPT flags to TEMP_FILE, as it's more descriptive. (DLR) + - Remove unused global variable search_offscreen. (David + Benbennick) - files.c: close_open_file() - Tweak to no longer rely on the return values of diff --git a/src/global.c b/src/global.c index b6078a9549b3da6f0ca4735693b36739a6ae99a1..9697cea858681d18369e3b88f11740b58d050697 100644 --- a/src/global.c +++ b/src/global.c @@ -37,7 +37,6 @@ int wrap_at = -CHARS_FROM_EOL;/* Right justified fill value, allows resize */ char *last_search = NULL; /* Last string we searched for */ char *last_replace = NULL; /* Last replacement string */ int search_last_line; /* Is this the last search line? */ -int search_offscreen; /* Search lines not displayed */ long flags = 0; /* Our flag containing many options */ WINDOW *edit; /* The file portion of the editor */ diff --git a/src/proto.h b/src/proto.h index db7d575791580e9b8a1a43af07cb94ac4eab6da6..670f618b49679412a1f583e05b706c31ee74b7ff 100644 --- a/src/proto.h +++ b/src/proto.h @@ -42,7 +42,6 @@ extern long totsize; extern long flags; extern int tabsize; extern int search_last_line; -extern int search_offscreen; extern int currslen; #if !defined(NANO_SMALL) && defined(ENABLE_NANORC)