diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-17 14:45:55 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-17 14:45:55 +0000 |
commit | 73eca0fb5159939c03f89e831b5eb149cce76b0a (patch) | |
tree | eed5965c04809961adcc3e6b2846f24fbeeb8948 | |
parent | daabd17dd590f9f8722655c882461e0bd93e748c (diff) | |
download | mandoc-73eca0fb5159939c03f89e831b5eb149cce76b0a.tar.gz |
No need to cast NULL when assigning it to a variable;
from Christos Zoulas <christos at NetBSD>.
-rw-r--r-- | mandocdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |