From 6ac30ae468850ff369c3734b42ca14dae64f087a Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 11 Dec 2013 10:29:19 +0100 Subject: [PATCH] dns: suppress harmless cppcheck warning [src/app-layer-dns-common.c:273]: (warning) Assignment of function \ parameter has no effect outside the function. --- src/app-layer-dns-common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app-layer-dns-common.c b/src/app-layer-dns-common.c index 6e79fc1204..4266930488 100644 --- a/src/app-layer-dns-common.c +++ b/src/app-layer-dns-common.c @@ -270,7 +270,6 @@ void DNSStateFree(void *s) { SCFree(dns_state->buffer); SCFree(s); - s = NULL; } SCReturn; }