source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* pod2mdoc: no need to assert() !NULL right before the pointer is accessed
@ 2014-07-11  9:07 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-07-11  9:07 UTC (permalink / raw)
  To: source

Log Message:
-----------
no need to assert() !NULL right before the pointer is accessed

Modified Files:
--------------
    pod2mdoc:
        pod2mdoc.c

Revision Data
-------------
Index: pod2mdoc.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/pod2mdoc/pod2mdoc.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -Lpod2mdoc.c -Lpod2mdoc.c -u -p -r1.25 -r1.26
--- pod2mdoc.c
+++ pod2mdoc.c
@@ -1270,8 +1270,6 @@ readfile(const struct args *args, const 
 	time_t		 ttm;
 	struct stat 	 st;
 
-	assert(NULL != fname);
-
 	fd = 0 != strcmp("-", fname) ? 
 		open(fname, O_RDONLY, 0) : STDIN_FILENO;
 
--
 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-07-11  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-11  9:07 pod2mdoc: no need to assert() !NULL right before the pointer is accessed 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).