diff options
Diffstat (limited to 'mdoc_macro.c')
-rw-r--r-- | mdoc_macro.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mdoc_macro.c b/mdoc_macro.c index 5d8d3bfa..e8882db4 100644 --- a/mdoc_macro.c +++ b/mdoc_macro.c @@ -258,7 +258,7 @@ lookup(struct roff_man *mdoc, int from, int line, int ppos, const char *p) static void rew_last(struct roff_man *mdoc, const struct roff_node *to) { - struct roff_node *n, *np; + struct roff_node *np; if (to->flags & MDOC_VALID) return; @@ -273,10 +273,8 @@ rew_last(struct roff_man *mdoc, const struct roff_node *to) */ np = mdoc->last->parent; mdoc_valid_post(mdoc); - n = mdoc->last; mdoc->last = np; assert(mdoc->last); - mdoc->last->last = n; } mdoc_valid_post(mdoc); } |