summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-17 14:45:55 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-17 14:45:55 +0000
commit73eca0fb5159939c03f89e831b5eb149cce76b0a (patch)
treeeed5965c04809961adcc3e6b2846f24fbeeb8948
parentdaabd17dd590f9f8722655c882461e0bd93e748c (diff)
downloadmandoc-73eca0fb5159939c03f89e831b5eb149cce76b0a.tar.gz
No need to cast NULL when assigning it to a variable;
from Christos Zoulas <christos at NetBSD>.
-rw-r--r--mandocdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandocdb.c b/mandocdb.c
index 7e790738..d730d177 100644
--- a/mandocdb.c
+++ b/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);