summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man_macro.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/man_macro.c b/man_macro.c
index 2aff0f2e..7a9d33b9 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -120,7 +120,8 @@ man_unscope(struct man *m, const struct man_node *to,
assert(to);
- assert(MAN_ROOT != m->last->type);
+ if (MAN_ROOT != m->last->type)
+ return(0);
m->next = MAN_NEXT_SIBLING;
/* LINTED */