* mdocml: No need to cast NULL when assigning it to a variable; from
@ 2017-02-17 14:46 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-02-17 14:46 UTC (permalink / raw)
To: source
Log Message:
-----------
No need to cast NULL when assigning it to a variable;
from Christos Zoulas <christos at NetBSD>.
Modified Files:
--------------
mdocml:
mandocdb.c
Revision Data
-------------
Index: mandocdb.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mandocdb.c,v
retrieving revision 1.243
retrieving revision 1.244
diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.243 -r1.244
--- mandocdb.c
+++ mandocdb.c
@@ -589,7 +589,7 @@ treescan(void)
const char *argv[2];
argv[0] = ".";
- argv[1] = (char *)NULL;
+ argv[1] = NULL;
f = fts_open((char * const *)argv, FTS_PHYSICAL | FTS_NOCHDIR,
fts_compare);
--
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:[~2017-02-17 14:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-17 14:46 mdocml: No need to cast NULL when assigning it to a variable; from 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).