source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: kill a pointless assert
@ 2014-11-28 17:25 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-11-28 17:25 UTC (permalink / raw)
  To: source

Log Message:
-----------
kill a pointless assert

Modified Files:
--------------
    mdocml:
        mdoc_validate.c

Revision Data
-------------
Index: mdoc_validate.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc_validate.c,v
retrieving revision 1.259
retrieving revision 1.260
diff -Lmdoc_validate.c -Lmdoc_validate.c -u -p -r1.259 -r1.260
--- mdoc_validate.c
+++ mdoc_validate.c
@@ -942,10 +942,7 @@ post_lb(POST_ARGS)
 	char			*libname;
 
 	check_count(mdoc, MDOC_ELEM, CHECK_WARN, CHECK_EQ, 1);
-
 	n = mdoc->last->child;
-
-	assert(n);
 	assert(MDOC_TEXT == n->type);
 
 	if (NULL == (stdlibname = mdoc_a2lib(n->string)))
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-28 17:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-28 17:25 mdocml: kill a pointless assert schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).