summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-10 00:52:46 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-10 00:52:46 +0000
commit14b766df0d1ee7f25fafdd5aafafb9f03d3f0488 (patch)
treefd4e8d52ac28c902aff3985b63cef09c9b9d24e9 /roff.c
parent5181e986114c18c409bb0b17c01aa4306c15c24e (diff)
downloadmandoc-14b766df0d1ee7f25fafdd5aafafb9f03d3f0488.tar.gz
*** empty log message ***
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/roff.c b/roff.c
index 8ed064c6..256c8a57 100644
--- a/roff.c
+++ b/roff.c
@@ -1154,7 +1154,7 @@ static int
roff_layout(ROFFCALL_ARGS)
{
int i, c, argcp[ROFF_MAXLINEARG];
- char *argvp[ROFF_MAXLINEARG], *p;
+ char *argvp[ROFF_MAXLINEARG];
/*
* The roff_layout function is for multi-line macros. A layout
@@ -1180,10 +1180,9 @@ roff_layout(ROFFCALL_ARGS)
return((*tree->cb.roffblkout)(tree->arg, tok));
}
+ argv++;
assert( ! (ROFF_CALLABLE & tokens[tok].flags));
- p = *argv++;
-
if ( ! roffparseopts(tree, tok, &argv, argcp, argvp))
return(0);
if (NULL == roffnode_new(tok, tree))