summaryrefslogtreecommitdiffstats
path: root/man_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'man_validate.c')
-rw-r--r--man_validate.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/man_validate.c b/man_validate.c
index a3a8669a..f345e595 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -321,9 +321,7 @@ check_par(CHKARGS)
break;
return(man_nmsg(m, n, MANDOCERR_ARGSLOST));
default:
- if (n->nchild)
- break;
- return(man_nmsg(m, n, MANDOCERR_NOARGS));
+ break;
}
return(1);