Code

utils_ignorelist.c: remove useless assignment
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 23 Apr 2016 09:52:02 +0000 (11:52 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 23 Apr 2016 09:52:02 +0000 (11:52 +0200)
[src/daemon/utils_ignorelist.c:238]: (warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?

src/daemon/utils_ignorelist.c

index 79824a67d4a9d32a19b5e27ebbbe135ad51130db..311cb07bf4c68c007ee9bde15d128dfa13e16d99 100644 (file)
@@ -235,7 +235,6 @@ void ignorelist_free (ignorelist_t *il)
        }
 
        sfree (il);
-       il = NULL;
 } /* void ignorelist_destroy (ignorelist_t *il) */
 
 /*