From: David Lawrence Ramsey Date: Thu, 8 Jul 2004 15:27:04 +0000 (+0000) Subject: per DB's patch, remove unused global variable search_offscreen X-Git-Tag: v1.3.4~58 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=a5dda84a07ff05c5c1e640e121e4dc958284fe65;p=nano.git per DB's patch, remove unused global variable search_offscreen git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1848 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/ChangeLog b/ChangeLog index 9695f63b..d80bcf27 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 b6078a95..9697cea8 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 db7d5757..670f618b 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)