From e04a4aa3c39c11d12b11bb874246146990cd663a Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 15 May 2010 04:46:10 +0000 Subject: Whacked lastman and lastmdoc (not being used). --- main.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 7365ad50..07c75c74 100644 --- a/main.c +++ b/main.c @@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.64 2010/05/14 17:59:07 kristaps Exp $ */ +/* $Id: main.c,v 1.65 2010/05/15 04:46:10 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -78,9 +78,7 @@ struct curparse { #define FL_IGN_ERRORS (1 << 4) /* Ignore failed parse. */ enum intt inttype; /* Input parsers... */ struct man *man; - struct man *lastman; struct mdoc *mdoc; - struct mdoc *lastmdoc; enum outt outtype; /* Output devices... */ out_mdoc outmdoc; out_man outman; @@ -496,14 +494,12 @@ pset(const char *buf, int pos, struct curparse *curp, curp->mdoc = mdoc_init(curp); if (NULL == (*mdoc = curp->mdoc)) return(0); - curp->lastmdoc = *mdoc; return(1); case (INTT_MAN): if (NULL == curp->man) curp->man = man_init(curp); if (NULL == (*man = curp->man)) return(0); - curp->lastman = *man; return(1); default: break; @@ -514,7 +510,6 @@ pset(const char *buf, int pos, struct curparse *curp, curp->mdoc = mdoc_init(curp); if (NULL == (*mdoc = curp->mdoc)) return(0); - curp->lastmdoc = *mdoc; return(1); } @@ -522,7 +517,6 @@ pset(const char *buf, int pos, struct curparse *curp, curp->man = man_init(curp); if (NULL == (*man = curp->man)) return(0); - curp->lastman = *man; return(1); } -- cgit v1.2.3-56-ge451