From b2a7b363203e3e38f12ead94e581382b4efdadbb Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 17 Feb 2017 14:45:55 +0000 Subject: No need to cast NULL when assigning it to a variable; from Christos Zoulas . --- mandocdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mandocdb.c b/mandocdb.c index af97019f..3b26ca96 100644 --- a/mandocdb.c +++ b/mandocdb.c @@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.243 2017/02/17 14:31:52 schwarze Exp $ */ +/* $Id: mandocdb.c,v 1.244 2017/02/17 14:45:55 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2011-2017 Ingo Schwarze @@ -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); -- cgit v1.2.3