commit 2cee79fbbf69ba235d86dc5a16c08449d3016665
parent 2c126b201f11543aec2064663a370ea063fcbd95
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 26 Nov 2018 09:07:22 +0100
tweaks: remove a variable that is no longer used
It was made superfluous by David's overhaul of the justify mechanism.
Diffstat:
2 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/global.c b/src/global.c
@@ -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
diff --git a/src/proto.h b/src/proto.h
@@ -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;