diff --git a/src/global.c b/src/global.c index 611649d6..2236ac81 100644 --- 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 index d5249c5b..392b3342 100644 --- 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;