summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-26 19:23:48 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-11-26 19:23:48 +0000
commit3904ff4010a96384a967e068113b94ff4e71a7c3 (patch)
treeb804dd8edf74d25fbd19b887c3b55abb40deb150
parentc188868858f419ec39f16c9714d8890b3381cd26 (diff)
remove an unreachable warning about .Sm arguments
-rw-r--r--usr.bin/mandoc/mdoc_validate.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/mandoc/mdoc_validate.c b/usr.bin/mandoc/mdoc_validate.c
index 634fe9303fd..65ba914f69b 100644
--- a/usr.bin/mandoc/mdoc_validate.c
+++ b/usr.bin/mandoc/mdoc_validate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc_validate.c,v 1.171 2014/11/17 06:44:35 schwarze Exp $ */
+/* $OpenBSD: mdoc_validate.c,v 1.172 2014/11/26 19:23:47 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -1635,8 +1635,6 @@ ebool(struct mdoc *mdoc)
return(1);
}
- check_count(mdoc, MDOC_ELEM, CHECK_WARN, CHECK_LT, 2);
-
assert(MDOC_TEXT == nch->type);
if (0 == strcmp(nch->string, "on")) {