tweaks: remove a variable that is no longer used

It was made superfluous by David's overhaul of the justify mechanism.
master
Benno Schulenberg 2018-11-26 09:07:22 +01:00
parent 2c126b201f
commit 2cee79fbbf
2 changed files with 0 additions and 5 deletions

View File

@ -199,8 +199,6 @@ subnfunc *tailfunc;
/* The last function in the list. */
subnfunc *exitfunc;
/* A pointer to the special Exit/Close item. */
subnfunc *uncutfunc;
/* A pointer to the special Uncut/Unjustify item. */
filestruct *search_history = NULL;
/* The current item in the list of strings that were searched for. */
@ -768,8 +766,6 @@ void shortcut_init(void)
add_to_funcs(do_uncut_text, MMAIN,
uncut_tag, WITHORSANS(uncut_gist), BLANKAFTER, NOVIEW);
/* Remember the entry for Uncut, to be able to replace it with Unjustify. */
uncutfunc = tailfunc;
if (!ISSET(RESTRICTED)) {
#ifdef ENABLE_JUSTIFY

View File

@ -145,7 +145,6 @@ extern int currmenu;
extern sc *sclist;
extern subnfunc *allfuncs;
extern subnfunc *exitfunc;
extern subnfunc *uncutfunc;
extern filestruct *search_history;
extern filestruct *replace_history;