summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 04:46:10 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-15 04:46:10 +0000
commit5fa55a22ad502f15707541af5206ee738f97227c (patch)
treef51c85ba5f6c4fe78583acbff2e880f1fbef9070 /main.c
parent92544201b88bbb38da729fb12607d8960ab8c27f (diff)
downloadmandoc-5fa55a22ad502f15707541af5206ee738f97227c.tar.gz
Whacked lastman and lastmdoc (not being used).
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/main.c b/main.c
index 0eacbe7b..c27df782 100644
--- a/main.c
+++ b/main.c
@@ -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);
}